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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 25%, #4a90e2 50%, #7bb3f0 75%, #a8d8ff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

/* System Status Styles */
.system-status {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.status-indicator {
    width: 32px;
    height: 32px;
    background: rgba(248, 248, 248, 0.5);
    border: 1px solid rgba(208, 208, 208, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.1s ease;
    position: relative;
}

.status-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

.status-details {
    position: absolute;
    top: 36px;
    left: 0;
    background: rgba(248, 248, 248, 0.5);
    border: 1px solid rgba(208, 208, 208, 0.5);
    padding: 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
}

.system-status:hover .status-details {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 6px 10px;
    background: rgba(248, 248, 248, 0.5);
    border-bottom: 1px solid rgba(224, 224, 224, 0.5);
    color: #333333;
}

.status-header h3 {
    color: #333333;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0;
    font-family: 'MS Sans Serif', 'Microsoft Sans Serif', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    text-shadow: none;
}

.status-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px 10px;
    background: rgba(248, 248, 248, 0.5);
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(224, 224, 224, 0.5);
}

.status-item:last-child {
    border-bottom: none;
}

.status-item.timestamp {
    border-top: 1px solid rgba(224, 224, 224, 0.5);
    margin-top: 4px;
    padding-top: 6px;
    font-size: 0.7rem;
    color: #666666;
}

.status-item.timestamp span {
    color: #666666;
    font-size: 0.7rem;
    font-style: italic;
}

.status-item span {
    color: #333333;
    font-size: 0.8rem;
    font-weight: normal;
    font-family: 'MS Sans Serif', 'Microsoft Sans Serif', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    flex: 1;
}

.status-icon {
    font-size: 1rem;
    font-weight: bold;
    transition: none;
    text-shadow: none;
    animation: none;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Status Colors - Windows 95 Style */
.status-green {
    color: #00a000;
    text-shadow: 0 0 4px rgba(0, 160, 0, 0.6);
}

.status-yellow {
    color: #808000;
    text-shadow: 0 0 4px rgba(128, 128, 0, 0.6);
}

.status-orange {
    color: #ff8000;
    text-shadow: 0 0 4px rgba(255, 128, 0, 0.6);
}

.status-red {
    color: #800000;
    text-shadow: 0 0 4px rgba(128, 0, 0, 0.6);
}

/* Windows 95 button style for status indicator */
.status-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(128, 128, 128, 0.1) 100%);
    pointer-events: none;
}

/* Retro scan lines effect */
.status-details::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 0, 0.03) 2px,
        rgba(0, 255, 0, 0.03) 4px
    );
    pointer-events: none;
    border-radius: 4px;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    position: relative;
}

.header {
    position: relative;
    flex: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    order: 2;
}

.header h1 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 6rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #4a90e2 0%, #1e3c72 50%, #2a5298 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header h2 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    margin-top: 0px;
    letter-spacing: 3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    opacity: 0.9;
}

.login-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex: 1;
    margin-right: 60px;
    order: 1;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: white;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.2);
}

.login-btn {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8) 0%, rgba(42, 82, 152, 0.8) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    backdrop-filter: blur(5px);
}

.login-btn:hover {
    background: linear-gradient(135deg, rgba(42, 82, 152, 0.9) 0%, rgba(74, 144, 226, 0.9) 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

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

.error-message {
    background: rgba(220, 38, 38, 0.2);
    color: #fecaca;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.apology {
    background: rgba(3, 105, 161, 0.2);
    border: 1px solid rgba(186, 230, 253, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    backdrop-filter: blur(5px);
}

.apology p {
    color: #bae6fd;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.apology a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.apology a:hover {
    text-decoration: underline;
}

.footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        flex-direction: column;
        justify-content: center;
        gap: 40px;
    }
    
    .login-container {
        padding: 30px 20px;
        margin-right: 0;
        max-width: 100%;
        order: 1;
    }
    
    .header {
        order: 2;
    }
    
    .header h1 {
        font-size: 3rem;
    }
    
    .system-status {
        top: 10px;
        left: 10px;
    }
    
    .status-details {
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2.5rem;
    }
    
    .login-container {
        padding: 25px 15px;
    }
    
    .container {
        gap: 30px;
    }
    
    .status-details {
        min-width: 220px;
        padding: 15px;
    }
} 