/* Modern Login Page Styles */

.login-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
  --muted: rgba(255, 255, 255, 0.85);
  --muted2: rgba(255, 255, 255, 0.65);
  --muted-dark: #4a5568;
  --muted-darker: #5a6478;
  --card-white: #ffffff;
  --card-light: rgba(255, 255, 255, 0.98);
  --card-dark: rgba(255, 255, 255, 0.04);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-white: rgba(26, 31, 46, 0.1);
  --brand: #0066ff;
  --brand-hover: #0052cc;
  --brand-light: #e6f0ff;
  --accent: #00d9a6;
  --accent2: #ff6b35;
  --bg-dark: #0a0f1a;
  --bg-section: #f8fafc;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);    font-family: "Jura", sans-serif;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    background: linear-gradient(135deg, #3b5998 0%, #2c5f75 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.logo-container {
    margin-bottom: 20px;
}

.login-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.login-title {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.login-subtitle {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

.login-body {
    padding: 40px 30px;
}

.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.form-label i {
    margin-right: 8px;
    color: #477B98;
    width: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-family: "Jura", sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #477B98;
    background: white;
    box-shadow: 0 0 0 3px rgba(71, 123, 152, 0.1);
}

.form-input::placeholder {
    color: #a0a0a0;
    font-weight: 300;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
}

.form-actions {
    margin-top: 30px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #477B98 0%, #2c5f75 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: "Jura", sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(71, 123, 152, 0.4);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2c5f75 0%, #1a3f4f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(71, 123, 152, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e1e8ed;
}

.footer-text {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.register-link {
    color: #477B98;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-link:hover {
    color: #2c5f75;
    text-decoration: underline;
}

/* Mobile Responsive Design */
@media only screen and (max-width: 768px) {
    .login-container {
        padding: 10px;
        min-height: calc(100vh - 60px);
    }

    .login-card {
        border-radius: 15px;
        max-width: 100%;
    }

    .login-header {
        padding: 30px 20px;
    }

    .login-logo {
        width: 60px;
        height: 60px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-subtitle {
        font-size: 13px;
    }

    .login-body {
        padding: 30px 20px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .submit-btn {
        padding: 14px;
        font-size: 15px;
    }
}

@media only screen and (max-width: 480px) {
    .login-container {
        padding: 5px;
    }

    .login-card {
        border-radius: 10px;
    }

    .login-header {
        padding: 25px 15px;
    }

    .login-body {
        padding: 25px 15px;
    }

    .form-group {
        margin-bottom: 20px;
    }
}

/* Landscape orientation for mobile */
@media only screen and (max-height: 600px) and (orientation: landscape) {
    .login-container {
        padding: 10px;
        min-height: auto;
    }

    .login-header {
        padding: 20px;
    }

    .login-logo {
        width: 50px;
        height: 50px;
    }

    .login-title {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .login-subtitle {
        display: none;
    }

    .login-body {
        padding: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }
}