/* VUSAFAETC Operations Center Theme - PHP 5.6 safe frontend */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    --ops-bg: #040b15;
    --ops-bg-soft: #081422;
    --ops-panel: rgba(6, 19, 35, 0.94);
    --ops-panel-strong: rgba(4, 14, 27, 0.98);
    --ops-line: rgba(43, 137, 255, 0.34);
    --ops-line-strong: rgba(49, 152, 255, 0.68);
    --ops-glow: rgba(0, 163, 255, 0.18);
    --ops-text: #f4f7fb;
    --ops-muted: #9bb4ca;
    --ops-blue: #2da2ff;
    --ops-cyan: #54d8ff;
    --ops-green: #62e857;
    --ops-amber: #ffcb37;
    --ops-red: #ff6b6b;
}

html, body {
    background:
        radial-gradient(circle at top right, rgba(0, 136, 255, 0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(9, 70, 150, 0.22), transparent 28%),
        linear-gradient(180deg, #030711 0%, #08111d 100%);
    color: var(--ops-text);
    font-family: 'Rajdhani', Arial, sans-serif;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; text-decoration: none; }

.ops-dashboard {
    max-width: 1520px;
    margin: 0 auto;
    padding: 12px;
}

.ops-topbar {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 260px;
    gap: 12px;
    margin-bottom: 12px;
}

.ops-shell,
.ops-menu,
.ops-status,
.ops-panel,
.ops-card,
.ops-stat,
.ops-action,
.ops-footer {
    background: linear-gradient(180deg, rgba(6, 18, 34, 0.97), rgba(3, 12, 24, 0.97));
    border: 1px solid var(--ops-line);
    box-shadow: inset 0 0 0 1px rgba(15, 30, 55, 0.66), 0 14px 35px rgba(0, 0, 0, 0.22);
}

.ops-menu,
.ops-status,
.ops-shell {
    border-radius: 14px;
    min-height: 78px;
}

.ops-menu {
    display: grid;
    place-items: center;
    font-size: 1.9rem;
    color: var(--ops-muted);
}

.ops-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: relative;
    overflow: hidden;
}

.ops-shell:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(20, 92, 182, 0.12), transparent);
    pointer-events: none;
}

.ops-brand-title,
.ops-brand-subtitle,
.ops-hero h1,
.ops-panel-title,
.ops-card h3,
.ops-footer,
.ops-stat-value {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ops-brand-title {
    font-size: 3rem;
    line-height: 0.9;
    font-weight: 800;
}

.ops-brand-subtitle {
    margin-top: 6px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ops-blue);
    letter-spacing: 0.08em;
}

.ops-shell-user {
    font-size: 1rem;
    color: var(--ops-muted);
    text-align: right;
    position: relative;
    z-index: 2;
}

.ops-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(84, 216, 255, 0.42);
    background: linear-gradient(135deg, rgba(12, 90, 167, 0.9), rgba(20, 148, 205, 0.9));
    color: #f4f7fb;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ops-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 18px;
}

.ops-status-icon {
    color: var(--ops-green);
    font-size: 2.2rem;
    text-shadow: 0 0 14px rgba(98, 232, 87, 0.32);
}

.ops-status-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ops-muted);
    text-transform: uppercase;
}

.ops-status-value {
    color: var(--ops-green);
    font-size: 1.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.ops-layout {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 12px;
}

.ops-sidebar-stack {
    display: grid;
    gap: 12px;
    align-content: start;
}

.ops-panel {
    border-radius: 14px;
    overflow: hidden;
}

.ops-panel-header {
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(42, 96, 164, 0.28);
}

.ops-panel-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.ops-nav-list {
    list-style: none;
    padding: 12px;
    margin: 0;
}

.ops-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    border-radius: 10px;
    padding: 12px 14px;
    border: 1px solid transparent;
    color: var(--ops-text);
    font-size: 1.18rem;
    font-weight: 600;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.ops-nav-link:hover,
.ops-nav-link.is-active {
    transform: translateY(-1px);
    border-color: var(--ops-line-strong);
    background: rgba(7, 35, 67, 0.88);
}

.ops-nav-link span:first-child {
    width: 20px;
    text-align: center;
    color: var(--ops-blue);
}

.ops-main {
    display: grid;
    gap: 12px;
}

.ops-hero {
    border-radius: 14px;
    padding: 22px 24px 0;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(2, 9, 20, 0.98) 0%, rgba(4, 16, 30, 0.92) 42%, rgba(6, 24, 46, 0.78) 100%);
}

.ops-hero:after {
    content: '';
    position: absolute;
    right: -120px;
    top: -40px;
    width: 520px;
    height: 320px;
    background:
        radial-gradient(circle at 35% 55%, rgba(0, 153, 255, 0.2), transparent 32%),
        linear-gradient(135deg, rgba(51, 150, 255, 0.18), transparent 65%);
    filter: blur(10px);
    pointer-events: none;
}

.ops-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.ops-hero h1 {
    font-size: clamp(2rem, 3vw, 3.3rem);
    font-weight: 800;
    margin: 0 0 8px;
}

.ops-hero p {
    margin: 0 0 18px;
    font-size: 1.35rem;
    color: #82c4ff;
    font-weight: 500;
}

.ops-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(55, 118, 193, 0.35);
}

.ops-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 0;
    border-width: 0 1px 0 0;
    min-height: 92px;
    background: rgba(2, 11, 23, 0.8);
}

.ops-stat:last-child { border-right: 0; }

.ops-stat-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.65rem;
    background: rgba(17, 38, 68, 0.95);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.34);
    color: var(--ops-blue);
}

.ops-stat-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ops-muted);
    text-transform: uppercase;
}

.ops-stat-value {
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 700;
    margin-top: 2px;
    color: var(--ops-green);
}

.ops-stat-subtext {
    font-size: 1rem;
    color: var(--ops-muted);
    text-transform: uppercase;
}

.ops-section {
    border-radius: 14px;
    padding: 12px;
}

.ops-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 8px 14px;
}

.ops-section-header h2 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.ops-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.ops-card {
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    overflow: hidden;
}

.ops-card:before {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(25, 119, 226, 0.18), rgba(52, 198, 255, 0.88), rgba(98, 232, 87, 0.55));
}

.ops-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    line-height: 1.25;
}

.ops-pill,
.badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(46, 113, 193, 0.34);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.96rem;
    color: #bfdcff;
    background: rgba(7, 28, 51, 0.75);
    font-weight: 700;
}

.badge.green { background:#1d6727; color:#fff; border-color:rgba(98,232,87,.45); }
.badge.yellow { background:#735c05; color:#fff; border-color:rgba(255,203,55,.45); }
.badge.red { background:#761c25; color:#fff; border-color:rgba(255,107,107,.45); }
.badge.blue { background:#1f5d99; color:#fff; border-color:rgba(84,216,255,.45); }
.badge.gray { background:#54616f; color:#fff; }

.ops-table-wrap {
    overflow-x: auto;
}

.ops-table {
    width: 100%;
    border-collapse: collapse;
}

.ops-table th,
.ops-table td {
    padding: 11px 10px;
    border-bottom: 1px solid rgba(42, 96, 164, 0.28);
    text-align: left;
    font-size: 1rem;
}

.ops-table th {
    color: #d8ecff;
    text-transform: uppercase;
    background: rgba(26, 52, 82, .75);
    font-family: 'Orbitron', sans-serif;
    font-size: .78rem;
    letter-spacing: .06em;
}

.ops-form-row {
    margin-bottom: 12px;
}

.ops-form-row label {
    display: block;
    color: var(--ops-muted);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.ops-input,
.ops-select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(49, 152, 255, 0.38);
    background: rgba(4, 18, 33, 0.88);
    color: var(--ops-text);
    box-sizing: border-box;
    font-family: 'Rajdhani', Arial, sans-serif;
    font-size: 1rem;
}

.ops-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: 8px;
    border: 1px solid var(--ops-line-strong);
    background: linear-gradient(135deg, rgba(12, 90, 167, 0.9), rgba(20, 148, 205, 0.9));
    color: #f4f7fb;
    font-family: 'Orbitron', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    cursor: pointer;
}

.ops-btn.danger {
    background: linear-gradient(135deg, rgba(130, 27, 36, 0.95), rgba(214, 61, 72, 0.92));
    border-color: rgba(255, 107, 107, 0.7);
}

.ops-alert {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(98, 232, 87, .35);
    background: rgba(17, 63, 27, .35);
    color: #b8ffb2;
    margin-bottom: 12px;
}

.ops-footer {
    margin-top: 12px;
    border-radius: 14px;
    padding: 14px 20px;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    color: #8ba8c4;
}

@media (max-width: 1100px) {
    .ops-topbar,
    .ops-layout,
    .ops-stats {
        grid-template-columns: 1fr;
    }
    .ops-shell {
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ops-shell-user { text-align: left; }
    .ops-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .ops-dashboard { padding: 8px; }
    .ops-brand-title { font-size: 2.35rem; }
    .ops-hero p { font-size: 1.12rem; }
    .ops-footer { font-size: .95rem; letter-spacing: .15em; }
}
