.login__section {
    padding: 80px 0;
    background-size: cover;
}

.login__box {
    background: #fdf7f6;
    border: 2px dashed #cc8dc5;
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(51, 14, 58, 0.1);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.login__box h3 {
    font-size: 26px;
    font-weight: 700;
    color: #330e3a;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login__box img {
    width: 70px;
    display: block;
    margin: 0 auto 25px;
    
}
/* Match select styling with input boxes */
.login__box select,
.register__box select,
.form-control {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    color: #555;
    background-color: #fff;
    appearance: none; /* remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Focus effect to match inputs */
.login__box select:focus,
.register__box select:focus,
.form-control:focus {
    border-color: #a64ca6; /* your theme accent color */
    box-shadow: 0 0 5px rgba(166, 76, 166, 0.4);
    outline: none;
}

/* Add custom arrow to the dropdown */
.login__box select,
.register__box select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23a64ca6' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 18px;
    padding-right: 40px;
}


/* Unified input styles */
.login__box input[type="text"],
.login__box input[type="password"],
.login__box input[type="email"],
.login__box input[type="date"],
.login__box select {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 1px solid #d6b3da;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: #fffafc;
    font-size: 15px;
    transition: all 0.3s ease;
    color: #330e3a;
    appearance: none; /* Removes default arrows for select/date (we’ll re-style below) */
}

.login__box input:focus,
.login__box select:focus {
    border-color: #330e3a;
    box-shadow: 0 0 6px rgba(51, 14, 58, 0.3);
    outline: none;
}

/* Style select dropdown */
.login__box select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23330e3a' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

/* Date input styling improvement */
.login__box input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    filter: invert(20%) sepia(20%) saturate(500%) hue-rotate(250deg);
}

/* Password eye icon */
.password-wrapper {
    position: relative;
}

.password-wrapper i {
    position: absolute;
    right: 15px;
    top: 12px;
    font-size: 16px;
    color: #330e3a;
    cursor: pointer;
}

.site-btn {
    width: 100%;
    padding: 12px;
    background: #330e3a;
    border: none;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.site-btn:hover {
    background: #4a1b59;
}

.error-msg {
    color: red;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.forgot-link {
    display: block;
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
    color: #666;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Optional: responsive tweaks */
@media (max-width: 576px) {
    .login__box {
        padding: 40px 25px;
    }
}
