/* =====================================
   Login Page Styles
===================================== */

/* Global HTML and Body */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Body with Wallpaper Background */
body {
    background-image: url('../images/Wallpaper.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* =====================================
   Login Container and Card
===================================== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

/* =====================================
   Logo Section
===================================== */
.login-logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    margin-bottom: 5px;
}

.login-subtitle {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
}

/* =====================================
   Alert Styling
===================================== */
.alert {
    border-radius: 10px;
    border: none;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: #fee;
    color: #c33;
}

.alert-success {
    background-color: #efe;
    color: #3c3;
}

/* =====================================
   Form Styling
===================================== */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(0, 0, 0, 0.75);
    font-weight: 500;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgb(104, 163, 197);
    border-radius: 8px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: rgb(74, 133, 167);
    box-shadow: 0 0 0 3px rgba(104, 163, 197, 0.15);
    background-color: white;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

/* =====================================
   Submit Button
===================================== */
.login-btn {
    width: 100%;
    padding: 12px 15px;
    background-color: rgb(104, 163, 197);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover:not(:disabled) {
    background-color: rgb(74, 133, 167);
    box-shadow: 0 4px 12px rgba(104, 163, 197, 0.3);
    transform: translateY(-1px);
}

.login-btn:active:not(:disabled) {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-btn-icon {
    font-size: 16px;
}

/* =====================================
   Responsive Design
===================================== */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-subtitle {
        font-size: 13px;
    }

    .form-control {
        padding: 11px 12px;
        font-size: 16px;
    }

    .login-btn {
        padding: 11px 12px;
        font-size: 14px;
    }
}
