﻿/* 🚀 GLOBAL NEUBRUTALIST TERMINAL STYLES (PUBLIC SECTOR ONLY) */

/* Core Animations & Indicators */
.animate-fade-in {
    animation: foundry-fade-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes foundry-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.live-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--alert-success, #27c93f);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--alert-success, #27c93f);
    animation: pulse-light 1.5s infinite;
}

@keyframes pulse-light {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* The Live Booth Container */
.terminal-booth {
    border: 6px solid var(--ink-dark);
    box-shadow: 16px 16px 0px var(--ink-dark);
    background-color: #0f172a;
}

.terminal-header {
    background-color: #1e293b;
    border-bottom: 4px solid var(--ink-dark);
}

.terminal-input {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    border: 2px solid #334155 !important;
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

    .terminal-input:focus {
        background-color: #1e293b !important;
        color: white !important;
        box-shadow: none !important;
        border-color: var(--agency-accent) !important;
    }

/* Modal / Airlock Brutal Inputs */
.brutal-input {
    border: 3px solid var(--ink-dark) !important;
    font-weight: 900 !important;
    border-radius: 0 !important;
    background-color: white !important;
    color: var(--ink-dark) !important;
}

    .brutal-input:focus {
        border-color: var(--agency-accent) !important;
        box-shadow: 6px 6px 0px var(--ink-dark) !important;
    }

/* Global Syncfusion Terminal Overrides (No ::deep required) */
.brutal-terminal-grid.e-grid {
    border: none !important;
    font-family: inherit;
    background-color: transparent !important;
}

    .brutal-terminal-grid.e-grid .e-headercell {
        background-color: #0f172a !important;
        color: #94a3b8 !important;
        font-weight: 900 !important;
        text-transform: uppercase;
        letter-spacing: 2px;
        border-bottom: 2px solid #334155 !important;
        padding-top: 1.2rem !important;
        padding-bottom: 1.2rem !important;
    }

    .brutal-terminal-grid.e-grid .e-rowcell {
        border-bottom: 1px solid #1e293b !important;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        background-color: #0f172a !important;
    }

    .brutal-terminal-grid.e-grid .e-row:hover .e-rowcell {
        background-color: #1e293b !important;
    }

/* Terminal Typography & Elements */
.terminal-text {
    color: #e2e8f0;
    font-size: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.terminal-badge {
    background-color: #334155 !important;
    color: #f8fafc;
    border: 1px solid #475569;
    letter-spacing: 2px;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

.urgency-text {
    color: #ef4444;
    font-weight: 900;
    animation: flash-text 2s infinite;
}

@keyframes flash-text {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Pager Overrides */
.brutal-terminal-grid.e-grid .e-gridpager {
    border-top: 2px solid #334155 !important;
    background-color: #0f172a !important;
    color: white !important;
    border-radius: 0 !important;
    padding: 1.5rem !important;
}

.brutal-terminal-grid.e-grid .e-pagercontainer .e-currentitem {
    background-color: var(--agency-accent) !important;
    color: var(--ink-dark) !important;
    font-weight: 900 !important;
}
