/* Style rules for auth.html */

body {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: none;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../assets/desktop_background.png") center/cover no-repeat;
    filter: blur(7px) brightness(0.8);
    transform: scale(1.1);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(60, 0, 100, 0.1), rgba(0, 0, 30, 0.4));
    z-index: -1;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #403e3e;
    padding: 40px 30px;
    width: 350px;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(138, 138, 138, 0.3);
}

.form-container h1 {
    color: #e3e3e3;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 30px;
}

.form-container form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-container form input {
    padding: 15px 15px;
    margin-bottom: 10px;
    border: none;
    border-radius: 20px;
    background-color: #302f2f;
    color: #fff;
    font-size: 20px;
}

.form-container form input::placeholder {
    color: #aaa;
}

.form-container form button {
    margin-top: 5px;
    padding: 15px;
    border: none;
    border-radius: 20px;
    background-color: #e3e3e3;
    color: #302f2f;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-container form button:hover {
    background-color: #c6c6c6;
}

.error-msg {
    color: #ff6b6b;
    font-size: 16px;
    margin-top: 15px;
    text-align: center;
}

.switch-link {
    margin-top: 20px;
    color: #ccc;
    font-size: 16px;
}

.switch-link a {
    color: #cbcbcb;
    text-decoration: none;
    font-weight: bold;
}

.switch-link a:hover {
    color: #e3e3e3;
}

@media (max-width: 767px) {
    body::before {
        background: url("../assets/smartphone_background.png") center/cover no-repeat;
    }

    .form-container {
        padding: 25px;
        width: 220px;
    }

    .form-container h1 {
        font-size: 35px;
    }

    .form-container form input {
        padding: 12px 15px;
        margin-bottom: 8px;
        font-size: 16px;
        border-radius: 10px;
    }

    .form-container form button {
        margin-top: 10px;
        font-size: 16px;
        padding: 12px;
        border-radius: 10px;
    }

    .error-msg {
        font-size: 13px;
        margin-top: 10px;
    }

    .switch-link {
        margin-top: 20px;
        font-size: 14px;
    }
}