/* ==========================================================================
   Puronvarsi ISMS - Security Operations Center Theme
   A dark, technical, precise aesthetic inspired by SOC dashboards
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables & Theme
   ========================================================================== */

:root {
    /* Typography */
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

    /* Core Surfaces - increased contrast for better layer separation */
    --surface-base: #08080c;
    --surface-primary: #101016;
    --surface-secondary: #1a1a24;
    --surface-elevated: #252532;
    --surface-hover: #32324a;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-default: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.15);

    /* Text */
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #606070;
    --text-inverse: #0a0a0f;

    /* Accent - Cyan/Electric Blue (SOC feel) */
    --accent: #00d4ff;
    --accent-dim: rgba(0, 212, 255, 0.15);
    --accent-glow: rgba(0, 212, 255, 0.4);

    /* Secondary accent */
    --accent-secondary: #6366f1;
    --accent-secondary-dim: rgba(99, 102, 241, 0.15);

    /* Semantic Colors */
    --success: #10b981;
    --success-dim: rgba(16, 185, 129, 0.15);
    --warning: #f59e0b;
    --warning-dim: rgba(245, 158, 11, 0.15);
    --danger: #ef4444;
    --danger-dim: rgba(239, 68, 68, 0.15);

    /* Risk Severity Gradient (1-5) */
    --risk-1: #10b981;  /* Very Low - Emerald */
    --risk-2: #22c55e;  /* Low - Green */
    --risk-3: #eab308;  /* Medium - Yellow */
    --risk-4: #f97316;  /* High - Orange */
    --risk-5: #ef4444;  /* Very High - Red */

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px var(--accent-glow);
}

/* ==========================================================================
   2. Base & Typography
   ========================================================================== */

html {
    background: var(--surface-base);
}

body {
    font-family: var(--font-display);
    background: var(--surface-base);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1, .uk-h1 { font-weight: 700; }

/* Monospace for data/metrics */
.metric, .data-value, code, pre,
.uk-badge, .risk-score {
    font-family: var(--font-mono);
}

/* ==========================================================================
   3. Page Load Animations
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Staggered card animations */
.uk-card,
.uk-grid > div > .uk-card {
    animation: fadeInUp 0.5s ease-out backwards;
}

.uk-grid > div:nth-child(1) > .uk-card { animation-delay: 0.05s; }
.uk-grid > div:nth-child(2) > .uk-card { animation-delay: 0.1s; }
.uk-grid > div:nth-child(3) > .uk-card { animation-delay: 0.15s; }
.uk-grid > div:nth-child(4) > .uk-card { animation-delay: 0.2s; }
.uk-grid > div:nth-child(5) > .uk-card { animation-delay: 0.25s; }
.uk-grid > div:nth-child(6) > .uk-card { animation-delay: 0.3s; }

/* Main content fade in */
#main-content {
    animation: fadeIn 0.4s ease-out;
}

/* Sidebar items slide in */
#sidebar-nav .uk-nav > li {
    animation: slideInLeft 0.3s ease-out backwards;
}

#sidebar-nav .uk-nav > li:nth-child(1) { animation-delay: 0.02s; }
#sidebar-nav .uk-nav > li:nth-child(2) { animation-delay: 0.04s; }
#sidebar-nav .uk-nav > li:nth-child(3) { animation-delay: 0.06s; }
#sidebar-nav .uk-nav > li:nth-child(4) { animation-delay: 0.08s; }
#sidebar-nav .uk-nav > li:nth-child(5) { animation-delay: 0.1s; }
#sidebar-nav .uk-nav > li:nth-child(6) { animation-delay: 0.12s; }
#sidebar-nav .uk-nav > li:nth-child(7) { animation-delay: 0.14s; }
#sidebar-nav .uk-nav > li:nth-child(8) { animation-delay: 0.16s; }
#sidebar-nav .uk-nav > li:nth-child(9) { animation-delay: 0.18s; }
#sidebar-nav .uk-nav > li:nth-child(10) { animation-delay: 0.2s; }
#sidebar-nav .uk-nav > li:nth-child(11) { animation-delay: 0.22s; }
#sidebar-nav .uk-nav > li:nth-child(12) { animation-delay: 0.24s; }
#sidebar-nav .uk-nav > li:nth-child(13) { animation-delay: 0.26s; }
#sidebar-nav .uk-nav > li:nth-child(14) { animation-delay: 0.28s; }
#sidebar-nav .uk-nav > li:nth-child(15) { animation-delay: 0.3s; }

/* ==========================================================================
   4. Navigation - Top Navbar
   ========================================================================== */

#top-navbar.uk-navbar-container {
    background: var(--surface-primary) !important;
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(8px);
}

.uk-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    position: relative;
}

.uk-logo .uk-text-primary {
    color: var(--accent) !important;
    text-shadow: 0 0 20px var(--accent-glow);
    position: relative;
    display: inline-block;
    animation: logoGlitch 8s infinite;
}

/* Glitch layers */
.uk-logo .uk-text-primary::before,
.uk-logo .uk-text-primary::after {
    content: 'Puronvarsi';
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.uk-logo .uk-text-primary::before {
    color: #ff0040;
    animation: glitchLeft 8s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.uk-logo .uk-text-primary::after {
    color: #00ff88;
    animation: glitchRight 8s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

/* Main logo pulse */
@keyframes logoGlitch {
    0%, 94%, 100% {
        text-shadow: 0 0 20px var(--accent-glow);
    }
    95% {
        text-shadow: 0 0 20px var(--accent-glow),
                     -2px 0 #ff0040,
                     2px 0 #00ff88;
        transform: translateX(1px);
    }
    96% {
        text-shadow: 0 0 20px var(--accent-glow);
        transform: translateX(-1px);
    }
    97% {
        text-shadow: 0 0 30px var(--accent-glow),
                     3px 0 #ff0040,
                     -3px 0 #00ff88;
        transform: translateX(2px);
    }
    98% {
        text-shadow: 0 0 20px var(--accent-glow);
        transform: translateX(0);
    }
}

/* Red glitch layer */
@keyframes glitchLeft {
    0%, 94%, 100% {
        opacity: 0;
        transform: translateX(0);
    }
    95%, 95.5% {
        opacity: 0.8;
        transform: translateX(-3px);
    }
    95.5%, 96% {
        opacity: 0;
    }
    97%, 97.5% {
        opacity: 0.6;
        transform: translateX(-5px);
    }
    97.5%, 98% {
        opacity: 0;
        transform: translateX(0);
    }
}

/* Green glitch layer */
@keyframes glitchRight {
    0%, 94%, 100% {
        opacity: 0;
        transform: translateX(0);
    }
    95%, 95.5% {
        opacity: 0.8;
        transform: translateX(3px);
    }
    95.5%, 96% {
        opacity: 0;
    }
    97%, 97.5% {
        opacity: 0.6;
        transform: translateX(5px);
    }
    97.5%, 98% {
        opacity: 0;
        transform: translateX(0);
    }
}

/* Scan line on hover */
.uk-logo:hover .uk-text-primary::before {
    content: '';
    position: absolute;
    left: -5%;
    top: 0;
    width: 110%;
    height: 100%;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 212, 255, 0.1) 50%,
        transparent 100%
    );
    animation: scanLine 1s ease-in-out;
    clip-path: none;
    opacity: 1;
}

@keyframes scanLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.uk-navbar-nav > li > a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.uk-navbar-nav > li > a:hover {
    color: var(--text-primary);
}

.uk-navbar-dropdown {
    background: var(--surface-elevated);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.uk-navbar-dropdown a {
    display: block;
    padding: 8px 15px;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.uk-navbar-dropdown-nav > li > a {
    color: var(--text-secondary);
    cursor: pointer;
}

.uk-navbar-dropdown-nav > li > a:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
}

.uk-navbar-nav > li > a.uk-disabled {
    color: var(--text-secondary);
    cursor: default;
}

.logout-link {
    cursor: pointer;
    color: var(--text-secondary) !important;
    transition: color 0.2s ease;
}

.logout-link:hover {
    color: var(--danger) !important;
}

/* ==========================================================================
   5. Sidebar Navigation
   ========================================================================== */

.uk-background-muted {
    background: var(--surface-primary) !important;
    border-right: 1px solid var(--border-subtle);
    position: relative;
}

/* Subtle noise texture overlay */
.uk-background-muted::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
}

/* Gradient glow at top */
.uk-background-muted::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, var(--accent-dim) 0%, transparent 100%);
    opacity: 0.3;
    pointer-events: none;
}

#sidebar-nav {
    position: relative;
    z-index: 1;
}

.uk-nav-header {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.7rem;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 16px 20px 8px;
}

.uk-nav-divider {
    border-top-color: var(--border-subtle);
    margin: 8px 20px;
}

.uk-nav > li > a {
    padding: 10px 16px;
    margin: 2px 12px;
    border-radius: 6px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    position: relative;
}

.uk-nav > li > a:hover {
    color: var(--text-primary);
    background: var(--surface-hover);
}

/* Active state with glow effect */
.uk-nav > li.uk-active > a {
    color: var(--accent);
    background: linear-gradient(90deg, var(--accent-dim) 0%, transparent 100%);
}

.uk-nav > li.uk-active > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent);
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 12px var(--accent-glow);
}

.uk-nav > li.uk-active > a:hover {
    background: linear-gradient(90deg, var(--accent-dim) 0%, transparent 100%);
}

/* Icon styling */
.uk-nav .uk-icon {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.uk-nav > li > a:hover .uk-icon,
.uk-nav > li.uk-active > a .uk-icon {
    color: var(--accent);
}

/* ==========================================================================
   6. Cards
   ========================================================================== */

.uk-card {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease;
}

.uk-card-default {
    background: var(--surface-secondary);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.uk-card-default:hover {
    transform: translateY(-4px);
    border-color: var(--border-default);
    box-shadow: var(--shadow-md);
}

.uk-card-title {
    font-weight: 600;
    color: var(--text-primary);
}

.uk-card-body {
    color: var(--text-secondary);
}

.uk-card-body p {
    color: var(--text-secondary);
}

/* Ensure strong/bold text is visible */
strong, b {
    color: var(--text-primary);
    font-weight: 600;
}

/* Primary card variant */
.uk-card-primary {
    background: linear-gradient(135deg, var(--accent-dim) 0%, var(--surface-secondary) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */

.uk-button {
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.uk-button-primary {
    background: var(--accent);
    color: var(--text-inverse);
    border: none;
}

.uk-button-primary:hover {
    background: #00bfe6;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.uk-button-secondary {
    background: var(--surface-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.uk-button-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--border-strong);
}

.uk-button-default {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

.uk-button-default:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
    background: var(--surface-hover);
}

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

.uk-button-danger:hover {
    background: #dc2626;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
}

.uk-button:disabled {
    background: var(--surface-elevated);
    color: var(--text-muted);
    border-color: var(--border-subtle);
    opacity: 0.6;
}

/* ==========================================================================
   8. Forms
   ========================================================================== */

.uk-input,
.uk-select,
.uk-textarea {
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus {
    background: var(--surface-secondary);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
    outline: none;
}

.uk-input::placeholder,
.uk-textarea::placeholder {
    color: var(--text-muted);
}

.uk-form-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
}

.uk-form-icon {
    color: var(--text-muted);
}

.uk-fieldset {
    border: none;
}

/* ==========================================================================
   9. Alerts
   ========================================================================== */

.uk-alert {
    border-radius: 8px;
    border: 1px solid;
}

.uk-alert-primary {
    background: var(--accent-dim);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--text-primary);
}

.uk-alert-success {
    background: var(--success-dim);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--success);
}

.uk-alert-warning {
    background: var(--warning-dim);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.uk-alert-danger {
    background: var(--danger-dim);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--danger);
}

.uk-alert-close {
    color: inherit;
    opacity: 0.7;
}

.uk-alert-close:hover {
    opacity: 1;
}

/* ==========================================================================
   10. Labels & Badges
   ========================================================================== */

.uk-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.uk-label-success {
    background: var(--success-dim);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.uk-label-warning {
    background: var(--warning-dim);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.uk-label-danger {
    background: var(--danger-dim);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.uk-label-primary {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

/* Default label */
.uk-label:not([class*="uk-label-"]) {
    background: var(--surface-elevated);
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

/* ==========================================================================
   11. Tables
   ========================================================================== */

.uk-table {
    color: var(--text-secondary);
}

.uk-table th {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-default);
}

.uk-table td {
    border-bottom: 1px solid var(--border-subtle);
}

.uk-table-hover tbody tr:hover {
    background: var(--surface-hover);
}

.uk-table-striped tbody tr:nth-of-type(odd) {
    background: var(--surface-primary);
}

/* ==========================================================================
   12. Risk Dashboard & Matrix
   ========================================================================== */

.risk-matrix {
    overflow-x: auto;
}

.risk-matrix table {
    min-width: 500px;
    border-collapse: separate;
    border-spacing: 3px;
}

.risk-matrix th {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 10px 14px;
    background: var(--surface-elevated);
    color: var(--text-muted);
    border: none;
    border-radius: 4px;
}

.risk-matrix td {
    border: none;
}

.matrix-cell {
    height: 48px;
    min-width: 64px;
    border-radius: 6px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.matrix-cell:hover {
    transform: scale(1.05);
    z-index: 1;
}

/* Risk Matrix Color Coding - SOC Style */
/* Very Low Risk (1-4): Emerald */
.risk-cell-0-0, .risk-cell-1-0, .risk-cell-0-1 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(16, 185, 129, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Low Risk (5-8): Green */
.risk-cell-1-1, .risk-cell-2-0, .risk-cell-0-2 {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(34, 197, 94, 0.15) 100%);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

/* Medium Risk (9-12): Yellow */
.risk-cell-2-1, .risk-cell-1-2, .risk-cell-3-0, .risk-cell-0-3 {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.3) 0%, rgba(234, 179, 8, 0.15) 100%);
    border: 1px solid rgba(234, 179, 8, 0.4);
}

/* High Risk (13-16): Orange */
.risk-cell-2-2, .risk-cell-3-1, .risk-cell-1-3, .risk-cell-4-0, .risk-cell-0-4 {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.35) 0%, rgba(249, 115, 22, 0.15) 100%);
    border: 1px solid rgba(249, 115, 22, 0.5);
}

/* Very High Risk (17-25): Red with glow */
.risk-cell-3-2, .risk-cell-2-3, .risk-cell-4-1, .risk-cell-1-4,
.risk-cell-3-3, .risk-cell-4-2, .risk-cell-2-4, .risk-cell-4-3, .risk-cell-3-4, .risk-cell-4-4 {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.4) 0%, rgba(239, 68, 68, 0.2) 100%);
    border: 1px solid rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

/* Risk Level Text Indicators */
.risk-level-very_low {
    color: var(--risk-1);
    font-family: var(--font-mono);
    font-weight: 600;
}

.risk-level-low {
    color: var(--risk-2);
    font-family: var(--font-mono);
    font-weight: 600;
}

.risk-level-medium {
    color: var(--risk-3);
    font-family: var(--font-mono);
    font-weight: 600;
}

.risk-level-high {
    color: var(--risk-4);
    font-family: var(--font-mono);
    font-weight: 600;
}

.risk-level-very_high {
    color: var(--risk-5);
    font-family: var(--font-mono);
    font-weight: 600;
    text-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
}

/* ==========================================================================
   13. Dashboard Metrics
   ========================================================================== */

.uk-card-body h3.uk-card-title {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.uk-card-body .uk-text-small {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* ==========================================================================
   14. Progress Bars
   ========================================================================== */

.uk-progress {
    height: 6px;
    background: var(--surface-elevated);
    border-radius: 3px;
    overflow: hidden;
}

.uk-progress::-webkit-progress-bar {
    background: var(--surface-elevated);
}

.uk-progress::-webkit-progress-value {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border-radius: 3px;
}

.uk-progress::-moz-progress-bar {
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border-radius: 3px;
}

/* ==========================================================================
   15. Utility Overrides
   ========================================================================== */

.uk-text-primary {
    color: var(--accent) !important;
}

.uk-text-success {
    color: var(--success) !important;
}

.uk-text-warning {
    color: var(--warning) !important;
}

.uk-text-danger {
    color: var(--danger) !important;
}

.uk-text-muted {
    color: var(--text-muted) !important;
}

.uk-heading-line > ::before,
.uk-heading-line > ::after {
    border-bottom-color: var(--border-subtle);
}

.uk-divider-icon {
    background-image: none;
    border-top: 1px solid var(--border-subtle);
}

.uk-divider-icon::before,
.uk-divider-icon::after {
    border-bottom-color: var(--border-subtle);
}

/* List styling */
.uk-list > li {
    color: var(--text-secondary);
}

/* Description list styling */
.uk-description-list > dt {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 1rem;
}

.uk-description-list > dt:first-child {
    margin-top: 0;
}

.uk-description-list > dd {
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Link styling */
a {
    color: var(--accent);
    transition: color 0.2s ease;
}

a:hover {
    color: #00bfe6;
    text-decoration: none;
}

/* ==========================================================================
   16. Login Page Specific
   ========================================================================== */

.login-page {
    position: relative;
    background: var(--surface-base);
    overflow: hidden;
}

/* Animated grid background */
.login-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Radial glow behind card */
.login-page::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Floating particles */
.login-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.login-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s infinite;
}

.login-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.login-particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.login-particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.login-particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.login-particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.login-particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.login-particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.login-particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.login-particle:nth-child(9) { left: 90%; animation-delay: 0.5s; }
.login-particle:nth-child(10) { left: 15%; animation-delay: 2.5s; }

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Scan line effect */
.login-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent 0%,
        rgba(0, 212, 255, 0.02) 50%,
        transparent 100%
    );
    background-size: 100% 4px;
    pointer-events: none;
    animation: scanLines 0.1s linear infinite;
}

@keyframes scanLines {
    0% { background-position: 0 0; }
    100% { background-position: 0 4px; }
}

/* Login card styling */
.login-card {
    position: relative;
    z-index: 10;
    background: var(--surface-secondary) !important;
    border: 1px solid var(--border-default) !important;
    box-shadow:
        var(--shadow-lg),
        0 0 60px rgba(0, 212, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    animation: cardAppear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Card corner accents */
.login-card::before,
.login-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent);
    opacity: 0.5;
}

.login-card::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.login-card::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* Login logo treatment */
.login-logo {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.login-logo .brand-name {
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
    display: inline-block;
    position: relative;
}

.login-logo .brand-suffix {
    color: var(--text-primary);
    opacity: 0.9;
}

/* Boot sequence text */
.login-boot-text {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    animation: bootFlicker 0.5s ease-out;
}

@keyframes bootFlicker {
    0%, 20%, 40% { opacity: 0; }
    10%, 30%, 50%, 100% { opacity: 1; }
}

/* Status indicator */
.login-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.login-status-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
    }
}

/* Enhanced form inputs for login */
.login-card .uk-input {
    background: var(--surface-primary);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.login-card .uk-input:focus {
    border-color: var(--accent);
    box-shadow:
        0 0 0 3px var(--accent-dim),
        inset 0 0 20px rgba(0, 212, 255, 0.03);
}

.login-card .uk-input::placeholder {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Login button */
.login-button {
    font-family: var(--font-mono) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.login-button:hover::before {
    left: 100%;
}

/* Demo credentials section */
.login-demo-section {
    position: relative;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.login-demo-section::before {
    content: 'DEMO ACCESS';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    background: var(--surface-secondary);
    padding: 0 12px;
}

.login-demo-list {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.login-demo-list li {
    padding: 4px 0;
    color: var(--text-muted);
}

.login-demo-list strong {
    color: var(--accent);
    font-weight: 500;
}

/* Legacy support */
body > .uk-offcanvas-content > .uk-height-viewport {
    background: var(--surface-base);
}

.uk-height-viewport .uk-card {
    background: var(--surface-secondary);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 212, 255, 0.05);
}

/* ==========================================================================
   17. Scrollbar Styling
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--surface-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ==========================================================================
   18. Quick Actions Cards (Dashboard)
   ========================================================================== */

.uk-card-primary .uk-button-default {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--accent);
}

.uk-card-primary .uk-button-default:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
}

/* ==========================================================================
   19. Icons
   ========================================================================== */

.uk-icon {
    color: var(--text-muted);
}

/* ==========================================================================
   20. Selection
   ========================================================================== */

::selection {
    background: var(--accent-dim);
    color: var(--text-primary);
}

/* ==========================================================================
   21. Atmospheric Backgrounds
   ========================================================================== */

/* Main content area grid background */
#main-content {
    position: relative;
}

#main-content::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 16.666%; /* Account for sidebar */
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0, 212, 255, 0.015) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: -1;
}

/* Subtle vignette on main content */
#main-content::after {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 16.666%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(8, 8, 12, 0.4) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Enhanced sidebar atmosphere */
.uk-background-muted {
    position: relative;
}

/* Sidebar circuit pattern */
.uk-background-muted .circuit-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v20M30 40v20M0 30h20M40 30h20M30 30m-5 0a5 5 0 1 0 10 0a5 5 0 1 0-10 0' fill='none' stroke='%2300d4ff' stroke-width='1'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Horizontal scan line that moves across the page occasionally */
@keyframes horizontalScan {
    0%, 90%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    92%, 98% {
        opacity: 1;
    }
    95% {
        transform: translateX(100vw);
    }
}

.scan-effect {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    animation: horizontalScan 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 9999;
}

/* CRT corner shadows for cards */
.uk-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.uk-card:hover::before {
    opacity: 1;
}

/* Glow line at top of cards */
.uk-card-default {
    position: relative;
    overflow: hidden;
}

.uk-card-default::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.uk-card-default:hover::after {
    opacity: 1;
}

/* Data grid pattern for tables */
.uk-table-striped {
    position: relative;
}

/* Enhanced risk matrix atmosphere */
.risk-matrix {
    position: relative;
}

.risk-matrix::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.03) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 12px;
}

/* Corner brackets for important sections */
.corner-brackets {
    position: relative;
}

.corner-brackets::before,
.corner-brackets::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 1px solid var(--accent);
    opacity: 0.3;
}

.corner-brackets::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner-brackets::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* ==========================================================================
   22. Terminal/Console Components
   ========================================================================== */

/* Terminal Window Container */
.terminal {
    background: var(--surface-base);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    overflow: hidden;
    font-family: var(--font-mono);
    box-shadow: var(--shadow-lg);
}

/* Terminal Title Bar */
.terminal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: var(--surface-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.terminal-title {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Terminal Body */
.terminal-body {
    padding: 16px;
    min-height: 100px;
    max-height: 400px;
    overflow-y: auto;
    font-size: 0.8rem;
    line-height: 1.6;
}

/* Terminal Prompt */
.terminal-prompt {
    color: var(--accent);
    margin-right: 8px;
}

.terminal-prompt::before {
    content: '>';
    margin-right: 4px;
    opacity: 0.5;
}

/* Terminal Line */
.terminal-line {
    display: flex;
    margin-bottom: 4px;
}

.terminal-line .timestamp {
    color: var(--text-muted);
    font-size: 0.7rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.terminal-line .content {
    color: var(--text-secondary);
}

/* Terminal Output Types */
.terminal-line.success .content { color: var(--success); }
.terminal-line.warning .content { color: var(--warning); }
.terminal-line.error .content { color: var(--danger); }
.terminal-line.info .content { color: var(--accent); }

/* Blinking cursor */
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--accent);
    animation: cursorBlink 1s step-end infinite;
    vertical-align: text-bottom;
    margin-left: 2px;
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Console Panel - Lighter variant */
.console-panel {
    background: var(--surface-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-family: var(--font-mono);
    overflow: hidden;
}

.console-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--surface-primary);
    border-bottom: 1px solid var(--border-subtle);
}

.console-panel-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.console-panel-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: var(--success);
}

.console-panel-status .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: statusPulse 2s ease-in-out infinite;
}

.console-panel-body {
    padding: 12px;
    font-size: 0.8rem;
}

/* Status Display */
.status-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    font-family: var(--font-mono);
}

.status-item {
    background: var(--surface-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 10px 12px;
}

.status-item-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.status-item-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-item-value.online { color: var(--success); }
.status-item-value.offline { color: var(--danger); }
.status-item-value.warning { color: var(--warning); }
.status-item-value.accent { color: var(--accent); }

/* Log Entry Component */
.log-entry {
    display: flex;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-entry-time {
    color: var(--text-muted);
    flex-shrink: 0;
    width: 70px;
}

.log-entry-level {
    flex-shrink: 0;
    width: 60px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.65rem;
}

.log-entry-level.info { color: var(--accent); }
.log-entry-level.warn { color: var(--warning); }
.log-entry-level.error { color: var(--danger); }
.log-entry-level.success { color: var(--success); }

.log-entry-message {
    color: var(--text-secondary);
    flex: 1;
}

/* Command Block */
.command-block {
    background: var(--surface-base);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 12px 14px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    position: relative;
    overflow-x: auto;
}

.command-block::before {
    content: '$';
    color: var(--accent);
    margin-right: 8px;
}

.command-block code {
    color: var(--text-primary);
}

/* Copy button for command blocks */
.command-block .copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.command-block .copy-btn:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

/* Data Table Terminal Style */
.data-table-terminal {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    width: 100%;
    border-collapse: collapse;
}

.data-table-terminal th {
    text-align: left;
    padding: 8px 12px;
    background: var(--surface-primary);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-default);
}

.data-table-terminal td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.data-table-terminal tr:hover td {
    background: var(--surface-hover);
}

/* Metric Display - SOC Style */
.metric-display {
    text-align: center;
    padding: 16px;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-value.accent {
    background: linear-gradient(180deg, var(--accent) 0%, #0099cc 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.metric-value.danger {
    background: linear-gradient(180deg, var(--danger) 0%, #cc0000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Activity Feed */
.activity-feed {
    font-family: var(--font-mono);
}

.activity-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
}

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

.activity-icon {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-elevated);
    color: var(--text-muted);
    flex-shrink: 0;
}

.activity-icon.success {
    background: var(--success-dim);
    color: var(--success);
}

.activity-icon.warning {
    background: var(--warning-dim);
    color: var(--warning);
}

.activity-icon.danger {
    background: var(--danger-dim);
    color: var(--danger);
}

.activity-icon.info {
    background: var(--accent-dim);
    color: var(--accent);
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-title {
    font-size: 0.8rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.activity-meta {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Typing Animation for Terminal */
.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(40, end);
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

/* Hexadecimal Display */
.hex-display {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    opacity: 0.5;
}

/* Progress Bar - SOC Style */
.progress-soc {
    height: 4px;
    background: var(--surface-elevated);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-soc-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
    border-radius: 2px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-soc-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: progressShine 2s linear infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Alert Banner - SOC Style */
.alert-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--danger-dim);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-left: 3px solid var(--danger);
    border-radius: 4px;
    font-family: var(--font-mono);
    animation: alertPulse 2s ease-in-out infinite;
}

@keyframes alertPulse {
    0%, 100% { border-left-color: var(--danger); }
    50% { border-left-color: transparent; }
}

.alert-banner-icon {
    color: var(--danger);
    animation: iconFlash 1s ease-in-out infinite;
}

@keyframes iconFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.alert-banner-content {
    flex: 1;
}

.alert-banner-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--danger);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.alert-banner-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Info Banner variant */
.alert-banner.info {
    background: var(--accent-dim);
    border-color: rgba(0, 212, 255, 0.3);
    border-left-color: var(--accent);
    animation: none;
}

.alert-banner.info .alert-banner-icon,
.alert-banner.info .alert-banner-title {
    color: var(--accent);
    animation: none;
}

/* ==========================================================================
   23. Responsive Adjustments
   ========================================================================== */

@media (max-width: 959px) {
    .uk-background-muted::after {
        display: none;
    }

    #main-content::before,
    #main-content::after {
        left: 0;
    }

    .terminal-body {
        font-size: 0.75rem;
    }

    .status-display {
        grid-template-columns: repeat(2, 1fr);
    }
}
