/* ===== Background ===== */
body {
    margin: 0;
    padding: 0;
    font-family: Segoe UI, sans-serif;
    /* background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); */
    /* background: url("https://cdn.pixabay.com/photo/2020/10/21/21/55/man-5674344_1280.png"); */
    /* background: url("https://cdn.pixabay.com/photo/2021/12/28/01/07/website-6898411_960_720.png"); */
    background: url("http://cdn.pixabay.com/photo/2020/10/21/21/55/man-5674344_1280.png");
       background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
}
/* ===== Auth Box ===== */
.auth-container {
    width: 380px;
    margin: auto;
    margin-top: 80px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    animation: fadeIn .8s ease;
}
/* ===== Title ===== */
.auth-container h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}
/* ===== Flash Message ===== */
.flash {
    background: #ff4d4d;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
}
/* ===== Input Box ===== */
.input-box {
    position: relative;
    margin-bottom: 25px;
}
/* ===== Inputs ===== */
.input-box input {
    width: 90%;
    padding: 12px 40px 12px 10px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #aaa;
    outline: none;
    color: #fff;
    font-size: 15px;
    transition: .3s;
}
/* ===== Labels ===== */
.input-box label {
    position: absolute;
    left: 10px;
    top: 12px;
    color: #ffffff;
    font-size: 14px;
    pointer-events: none;
    transition: .3s;
}
/* ===== Input Focus ===== */

.input-box input:focus {
    border-bottom: 2px solid #4c82fb;
}

/* ===== Floating Label ===== */
.input-box input:focus+label,
.input-box input:valid+label {
    top: -10px;
    font-size: 12px;
    color: #4c82fb;
}
/* ===== Eye Icon ===== */
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
}
/* ===== Button ===== */
button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: .3s;
}
button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 114, 255, 0.5);
}
/* ===== Link ===== */
.back-link {
    text-align: center;
    margin-top: 20px;
}
.back-link a {
    color: #ddd;
    text-decoration: none;
}
.back-link a:hover {
    color: #fff;
}
/* ===== Animation ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== Responsive ===== */
@media(max-width:480px) {
    .auth-container {
             width: 78%;
        padding: 30px;
    }
}