/* Authentication Pages Custom Styling */
body {
    margin: 0;
    padding: 0;
    /* Try to load the image first, fallback to SVG, and finally the gradient */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../img/bg.png'), 
                url('../img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    /* Fallback background in case none of the images load */
    background-color: #1a1a2e;
}

.auth-wrapper {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-content {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 1;
}

.auth-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.auth-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.auth-logo {
    width: 200px;
    height: auto;
    margin-bottom: 30px;
}

.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

/* Form Styles */
.form-label {
    font-size: 14px;
    color: #54595F;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    height: auto;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #745EB5;
    box-shadow: 0 0 0 0.25rem rgba(116, 94, 181, 0.25);
}

.btn-primary {
    background: linear-gradient(90deg, #67B3E6 0%, #745EB5 100%);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(116, 94, 181, 0.4);
    background: linear-gradient(90deg, #67B3E6 0%, #745EB5 80%);
}

/* Links */
.auth-links {
    font-size: 14px;
    color: #54595F;
}

.text-primary {
    color: #745EB5 !important;
}

.text-primary:hover {
    color: #67B3E6 !important;
}

/* Custom checkbox */
.form-check-input {
    border-color: #745EB5;
}

.form-check-input:checked {
    background-color: #745EB5;
    border-color: #745EB5;
}

/* Flash Messages */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    position: relative;
}

.message.success {
    background-color: rgba(212, 237, 218, 0.9);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: rgba(248, 215, 218, 0.9);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.flash-container {
    width: 100%;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-card {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-card {
        padding: 30px 20px;
    }
} 