/* Custom Login Page Styles */
.auth-box {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 420px;
    margin: 20px;
}

.auth-box .logo img {
    max-width: 180px;
    height: auto;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.auth-box h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 0.5px;
}

.auth-box .form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 14px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
}

.auth-box .form-control:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.25);
    outline: none;
    background: white;
}

.auth-box .input-group-text {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px 0 0 10px;
    color: #6c757d;
    padding: 0 12px;
    height: calc(2.25rem + 2px);
}

.auth-box .form-control-lg {
    height: calc(2.25rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.auth-box .btn-info {
    background: linear-gradient(135deg, #3498db, #2c80b9);
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.auth-box .btn-info:hover {
    background: linear-gradient(135deg, #2c80b9, #1f618d);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.auth-box .custom-control-label {
    color: #495057;
    font-weight: 500;
}

.auth-box .custom-control-input:checked~.custom-control-label::before {
    background-color: #3498db;
    border-color: #3498db;
}

.auth-box a {
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-box a:hover {
    color: #3498db;
    text-decoration: underline;
}

.auth-box .form-group.row {
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .auth-box {
        padding: 30px;
        margin: 15px;
    }
    
    .auth-box .logo img {
        max-width: 150px;
        margin-bottom: 20px;
    }
    
    .auth-box h5 {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .auth-box .btn-info {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* Animation for form elements */
.auth-box .form-control,
.auth-box .btn-info {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-box .logo img {
    animation: fadeInDown 0.6s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-box h5 {
    animation: fadeInDown 0.6s ease-out forwards 0.2s;
}

.auth-box .form-group {
    animation: fadeInUp 0.6s ease-out forwards;
}

.auth-box .form-group:nth-child(2) {
    animation-delay: 0.1s;
}

.auth-box .form-group:nth-child(3) {
    animation-delay: 0.2s;
}

.auth-box .form-group:nth-child(4) {
    animation-delay: 0.3s;
}

.auth-box .form-group.text-center {
    animation-delay: 0.4s;
}