:root {
    /* ResetNational Corporate Colors */
    --primary-color: #FF6B00;  /* Reset Orange */
    --primary-dark: #CC5500;
    --primary-light: #FF8533;
    --secondary-color: #1A1A1A;  /* Reset Charcoal */
    --accent-color: #00B4D8;  /* Reset Blue */
    --accent-light: #90E0EF;
    --success-color: #06D6A0;
    --danger-color: #EF476F;
    --warning-color: #FFD166;
    --dark: #0D0D0D;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 30px rgba(255, 107, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(255, 107, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background: var(--gray-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Login Page - Premium Look */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #FF6B00 0%, #CC5500 50%, #1A1A1A 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: float 20s ease-in-out infinite;
}

.login-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    left: -200px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-30px) scale(1.1); }
}

.login-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 107, 0, 0.1);
    transition: transform 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(255, 107, 0, 0.25);
}

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-header .logo {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(255, 107, 0, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 12px 32px rgba(255, 107, 0, 0.4); }
}

.login-header .logo i {
    font-size: 42px;
    color: var(--white);
}

.login-header h1 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.login-header .subtitle {
    color: var(--gray-600);
    font-size: 16px;
    font-weight: 500;
}

.login-form {
    max-width: 420px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.form-group label i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-300);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--white);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.1);
    transform: translateY(-2px);
}

.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.btn-block {
    width: 100%;
}

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 18px;
}

.alert-error {
    background: linear-gradient(135deg, #FED7D7 0%, #FEB2B2 100%);
    color: #C53030;
    border: 2px solid #FC8181;
}

.alert-error::before {
    content: '\f071';
}

.alert-success {
    background: linear-gradient(135deg, #C6F6D5 0%, #9AE6B4 100%);
    color: #22543D;
    border: 2px solid #68D391;
}

.alert-success::before {
    content: '\f058';
}

.alert-info {
    background: linear-gradient(135deg, #BEE3F8 0%, #90CDF4 100%);
    color: #2C5282;
    border: 2px solid #63B3ED;
}

.alert-info::before {
    content: '\f05a';
}

.login-footer {
    text-align: center;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 2px solid var(--gray-200);
}

.admin-link {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.login-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transition: transform 0.6s ease;
}

.info-card:hover {
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.info-card:hover::before {
    transform: translate(-25%, -25%);
}

.info-card i {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.info-card p {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
    }

    .login-card {
        padding: 32px 24px;
    }

    .login-info {
        display: none;
    }
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
