/* User Banner */
.user-banner {
    position: relative;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

.user-banner img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Container Styles */
.container {
    max-width: 480px;
    margin: 0 auto 50px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Headings */
h1 {
    text-align: center;
    color: #686bbb;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Form Styles */
form ul {
    list-style: none;
}

form li {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #555;
    font-size: 14px;
    transition: color 0.3s ease;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 92%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

input[type="tel"] {
    width: 183%;
    max-width: 474px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #686bbb;
    background: white;
    box-shadow: 0 0 0 4px rgba(104, 107, 187, 0.1);
    transform: translateY(-2px);
}

/* Button Styles */
.form-group {
    display: flex;
    gap: 20px;
}

.form-group button {
    width: 50%;
    padding: 12px;
    background: linear-gradient(135deg, #686bbb, #5a5ca9);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-group button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.form-group button:hover::after {
    width: 400px;
    height: 400px;
}

.form-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(104, 107, 187, 0.4);
}

/* Login Link */
.login-link {
    display: block;
    margin-top: 15px;
    color: #686bbb;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #5a5ca9;
}

/* Captcha */
.captcha-container {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.captcha img {
    margin-left: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Password Toggle Styles */
.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #686bbb;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #5a5ca9;
}

.toggle-password.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 600px) {
    .user-banner {
        height: 250px;
    }

    .container {
        padding: 20px;
        margin: 20px;
    }

    h1 {
        font-size: 24px;
    }
}

@media (max-width: 426px) {
    input[type="tel"] {
        max-width: 82vw;
    }
}

@media (max-width: 375px) {
    input[type="tel"] {
        max-width: 81vw;
    }
}

@media (max-width: 320px) {
    input[type="tel"] {
        max-width: 80vw;
    }
}