/**
 * Cyberlights CSS Styles - Professional Security Assessment Interface
 * 
 * Clean, accessible styling following WCAG 2.1 AA guidelines
 * Enhanced with security-focused UI components and responsive design
 * Based on OwlVault design system with Cyberlights security theming
 */

/* CSS Custom Properties for consistent theming */
:root {
    /* Primary Security Colors */
    --color-primary: #3498db;
    --color-secondary: #95a5a6;
    --color-success: #27ae60;
    --color-danger: #e74c3c;
    --color-warning: #f39c12;
    --color-info: #17a2b8;
    
    /* Security Assessment Colors */
    --color-compliant: #27ae60;
    --color-partial: #f39c12;
    --color-non-compliant: #e74c3c;
    
    /* Text and Background */
    --color-text: #333;
    --color-text-muted: #7f8c8d;
    --color-background: #f5f5f5;
    --color-background-alt: #fff;
    
    /* Security Theme Accents */
    --color-security: #2c3e50;
    --color-security-light: #34495e;
    
    /* Layout */
    --border-radius: 4px;
    --border-radius-lg: 8px;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.15);
    
    --transition: all 0.2s ease;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-background);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: var(--color-security);
    color: white;
    padding: 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    top: 0;
    left: 0;
}

.content {
    flex: 1;
    margin-left: 250px;
    padding: 15px;
    background-color: white;
    min-height: 100vh;
}

/* Header */
.header {
    background-color: var(--color-security-light);
    color: white;
    padding: 12px 20px;
    border-bottom: 1px solid #3d566e;
}

.header h1 {
    font-size: 1.5em;
    font-weight: 600;
}

.user-info {
    margin-top: 10px;
    font-size: 0.9em;
    opacity: 0.8;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-image-container {
    flex-shrink: 0;
}

.profile-image, .profile-image-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-image-placeholder {
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2em;
}

.user-details {
    flex: 1;
    min-width: 0;
}

/* Navigation */
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    border-bottom: 1px solid var(--color-security-light);
}

.nav-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    transition: background-color 0.2s;
}

.nav-menu a:hover,
.nav-menu a:focus {
    background-color: var(--color-security-light);
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}

.nav-menu .active {
    background-color: var(--color-primary);
}

.nav-section {
    padding: 10px 20px;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #bdc3c7;
    border-bottom: 1px solid var(--color-security-light);
    margin-top: 10px;
}

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

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--color-security);
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
}

.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    min-height: 100px;
    resize: vertical;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;
}

.btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.btn-info {
    background-color: var(--color-info);
    color: white;
}

.btn-info:hover {
    background-color: #138496;
}

.btn-danger {
    background-color: var(--color-danger);
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

.btn-success {
    background-color: var(--color-success);
    color: white;
}

.btn-success:hover {
    background-color: #229954;
}

/* Cards */
.card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
}

.card-header {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.card-title {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--color-security);
    margin: 0;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.table th,
.table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--color-security);
}

.table tr:hover {
    background-color: #f8f9fa;
}

/* Alerts */
.alert {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    border-left: 4px solid;
}

.alert-success {
    background-color: #d4edda;
    border-color: var(--color-success);
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: var(--color-danger);
    color: #721c24;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: var(--color-warning);
    color: #856404;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: var(--color-primary);
    color: #0c5460;
}

/* Dashboard stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--box-shadow);
}

.stat-value {
    font-size: 2em;
    font-weight: 600;
    color: var(--color-security);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9em;
}

/* Security Assessment Specific Styles */
.assessment-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.question-category {
    margin-bottom: 2rem;
    border: 1px solid #bdc3c7;
    border-radius: 8px;
    overflow: hidden;
}

.category-header {
    background-color: var(--color-security-light);
    color: #fff;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-header:hover {
    background-color: var(--color-security);
}

.category-toggle {
    transition: transform 0.3s;
}

.category-toggle.collapsed {
    transform: rotate(-90deg);
}

.category-count {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.category-content {
    padding: 1rem;
}

.question-item {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: var(--box-shadow);
}

.question-header {
    margin-bottom: 1rem;
}

.question-number {
    font-weight: 700;
    color: var(--color-info);
    margin-right: 1rem;
    font-size: 1.1rem;
    background: rgba(23, 162, 184, 0.1);
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--color-info);
    border-radius: 4px;
    display: inline-block;
}

.question-text {
    font-weight: 600;
    color: var(--color-security);
    font-size: 1.1rem;
    line-height: 1.5;
}

.question-guidance {
    margin-bottom: 1rem;
}

.guidance-toggle {
    background-color: var(--color-primary);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.guidance-toggle:hover {
    background-color: #2980b9;
}

.guidance-content {
    margin-top: 1rem;
    padding: 1.5rem;
    background: #fff3cd;
    border-left: 4px solid var(--color-warning);
    border-radius: 4px;
    color: var(--color-text);
}

.answer-section {
    background: rgba(52, 152, 219, 0.08);
    padding: 1.5rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.question-form {
    margin-top: 1rem;
}

/* Compliance Status Styling */
.compliance-status {
    font-weight: bold;
}

.compliance-green {
    color: var(--color-compliant);
}

.compliance-yellow {
    color: var(--color-partial);
}

.compliance-red {
    color: var(--color-non-compliant);
}

.compliance-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.compliance-summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.compliance-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.compliance-radio {
    flex-direction: row;
    gap: 1rem;
}

.compliance-radio label {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.compliance-red label {
    background-color: #ffebee;
    color: #c62828;
}

.compliance-yellow label {
    background-color: #fff8e1;
    color: #f57f17;
}

.compliance-green label {
    background-color: #e8f5e8;
    color: #2e7d32;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 500;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-completed {
    background-color: #fff3cd;
    color: #856404;
}

.status-archived {
    background-color: #f8f9fa;
    color: #6c757d;
}

.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

.role-admin {
    background-color: var(--color-danger);
    color: #fff;
}

.role-standard {
    background-color: var(--color-primary);
    color: #fff;
}

/* Login page specific */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #ecf0f1;
}

.login-box {
    background-color: white;
    padding: 0;
    border-radius: 8px;
    box-shadow: var(--box-shadow-lg);
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 40px;
}

.login-content {
    padding: 0 40px 40px 40px;
}

.login-header h1 {
    color: var(--color-security);
    font-size: 2em;
    margin-bottom: 10px;
}

.login-header p {
    color: var(--color-text-muted);
    font-size: 0.9em;
}

.login-logo {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    padding: 10px;
    box-sizing: border-box;
    background: linear-gradient(135deg, var(--color-security), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo h1 {
    color: white;
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

/* Progress bars */
.progress-bar {
    width: 100%;
    height: 24px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-success), var(--color-info));
    transition: width 0.5s ease;
}

.progress-details {
    margin-bottom: 1rem;
}

/* Radio and Checkbox Groups */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-group label,
.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.required {
    color: var(--color-danger);
}

/* Admin specific styles */
.admin-section {
    background: rgba(231, 76, 60, 0.08);
    padding: 2.5rem;
    border: 2px solid var(--color-danger);
    border-radius: 6px;
    margin-bottom: 2.5rem;
}

.admin-section h3 {
    color: var(--color-danger);
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--color-danger);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.admin-form {
    max-width: 600px;
}

.recent-activity {
    margin-top: 2rem;
}

.recent-activity h3 {
    color: var(--color-security);
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Upload and Import */
.upload-info {
    background: rgba(243, 156, 18, 0.08);
    padding: 2rem;
    border: 2px solid var(--color-warning);
    border-radius: 6px;
    margin-bottom: 2.5rem;
    color: var(--color-text);
}

.upload-info ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.upload-form {
    max-width: 500px;
}

.preview-table {
    margin-bottom: 2rem;
    overflow-x: auto;
}

.csv-example {
    background: #f8f9fa;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow-x: auto;
    font-family: monospace;
    color: var(--color-text);
}

.csv-example pre {
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem;
    color: var(--color-text-muted);
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 6px;
}

.empty-state h3 {
    color: var(--color-security);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

/* Conditional question styling */
.question-item.hidden {
    display: none !important;
}

.question-item.conditional {
    border-left: 4px solid var(--color-warning);
    padding-left: 1rem;
}

.question-item.conditional::before {
    content: "Conditional: ";
    font-size: 0.8rem;
    color: var(--color-warning);
    font-weight: bold;
}

.info-card {
    background: #f8f9fa;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: var(--box-shadow);
}

.info-card h3 {
    color: var(--color-security);
    margin-bottom: 1.2rem;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
}

/* Focus management */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--color-primary);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .content {
        margin-left: 0;
        padding: 10px;
        padding-top: 60px;
    }
    
    .main-layout {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .assessment-info {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .compliance-radio {
        flex-direction: column;
    }
    
    .table {
        font-size: 0.9em;
    }
    
    .table th,
    .table td {
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 8px;
    }
    
    .card {
        padding: 10px;
    }
    
    .btn {
        padding: 10px 16px;
        width: 100%;
        margin-bottom: 8px;
    }
    
    .d-flex {
        flex-direction: column;
        align-items: stretch;
    }
    
    .justify-between {
        justify-content: flex-start;
        gap: 10px;
    }
}

/* Print Styles */
@media print {
    .sidebar,
    .btn,
    .form-actions,
    .mobile-nav-toggle {
        display: none;
    }
    
    .content {
        margin-left: 0;
        padding: 0;
    }
    
    .question-item {
        break-inside: avoid;
    }
}

/* Legacy support for existing IDs and classes */
#container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    border-radius: 8px;
    box-shadow: var(--box-shadow-lg);
}

#header {
    background: var(--color-security);
    color: white;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--color-primary);
}

#header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

#main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    background: rgba(52, 152, 219, 0.1);
    padding: 0.5rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    margin-top: 1rem;
}

#main-nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
}

#main-nav a:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

#user-info {
    position: absolute;
    top: 1rem;
    right: 2rem;
    text-align: right;
}

#user-info span {
    margin-right: 1rem;
}

.logout-link {
    color: #fff;
    text-decoration: none;
    margin-left: 1rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid #fff;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.logout-link:hover {
    background: #fff;
    color: var(--color-security);
    text-decoration: none;
}

#main-content {
    padding: 2rem;
    min-height: 70vh;
    background: white;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid var(--color-primary);
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
}

.page-header h2 {
    font-size: 1.8rem;
    color: var(--color-security);
    font-weight: 700;
}

.page-actions {
    display: flex;
    gap: 1rem;
}

.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: white;
    padding: 1.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border-left: 4px solid var(--color-primary);
}

.summary-card h3 {
    color: var(--color-security);
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.summary-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: white;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: var(--box-shadow);
}

.dashboard-card h3 {
    color: var(--color-security);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.stat-breakdown {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.stat-description {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.stat-actions {
    margin-top: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.data-table th {
    background: #f8f9fa;
    color: var(--color-security);
    font-weight: 600;
    font-size: 0.9rem;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.data-table td {
    color: var(--color-text);
}

.table-footer {
    text-align: center;
    padding: 1rem;
    background-color: #f8f9fa;
}

.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    border-left: 4px solid;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border-color: var(--color-success);
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border-color: var(--color-danger);
}

.message.warning {
    background: #fff3cd;
    color: #856404;
    border-color: var(--color-warning);
}

#footer {
    background: var(--color-security);
    color: white;
    padding: 1.5rem 2rem;
    text-align: center;
    margin-top: 2rem;
    border-top: 2px solid var(--color-primary);
}

#footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.login-page {
    background: var(--color-background);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

#login-container {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow-lg);
    width: 100%;
    max-width: 450px;
}

#login-form h1 {
    text-align: center;
    color: var(--color-security);
    margin-bottom: 2rem;
    font-weight: 700;
}

.login-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-info h3 {
    color: var(--color-security);
    margin-bottom: 0.8rem;
}

.login-info p {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--color-text);
}








