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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 0 20px;
}

/* Ticker Bar */
.top-ticker {
    background: #0f172a;
    color: #e2e8f0;
    font-size: 0.8rem;
    padding: 6px 0;
}

/* Navbar */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    color: #0f172a;
}
.logo span {
    color: #2563eb;
}
.navbar nav a {
    margin-left: 18px;
    text-decoration: none;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}
.navbar nav a:hover {
    color: #0f172a;
}

/* Article Card */
.main-content {
    margin-top: 30px;
    margin-bottom: 50px;
}
.news-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04);
}
.tag-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.category-tag {
    background: #eff6ff;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
}
.tag-meta {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}
.article-title {
    font-size: 1.9rem;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 12px;
}
.meta-info {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 24px;
}
.featured-image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.95rem;
    margin-bottom: 24px;
}
.article-body p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #334155;
}
.hidden-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.quote-box {
    border-left: 4px solid #2563eb;
    background: #f1f5f9;
    padding: 14px 18px;
    margin: 20px 0;
    font-style: italic;
    color: #1e293b;
    border-radius: 0 6px 6px 0;
}
.action-area {
    text-align: center;
    margin-top: 30px;
    padding: 24px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}
.btn-primary {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover {
    background: #1d4ed8;
}
.subtext {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 8px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px;
    font-size: 0.85rem;
    color: #94a3b8;
    border-top: 1px solid #e2e8f0;
}

/* Admin / SOC Dashboard Styles */
.admin-body {
    background-color: #0f172a;
    color: #f8fafc;
}
.admin-navbar {
    background: #1e293b;
    border-bottom: 1px solid #334155;
}
.admin-navbar .logo {
    color: #f8fafc;
}
.admin-container {
    max-width: 1200px;
    margin-top: 30px;
    margin-bottom: 60px;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.dashboard-header h2 {
    font-size: 1.7rem;
    color: #f8fafc;
}
.dashboard-header p {
    color: #94a3b8;
    font-size: 0.9rem;
}
.nav-btn-target {
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}
.btn-danger {
    background: #dc2626;
    color: white;
    border: none;
    padding: 9px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: #1e293b;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid #334155;
}
.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f8fafc;
}
.text-success { color: #38bdf8; }
.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 4px;
}
.map-card, .table-card {
    background: #1e293b;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #334155;
    margin-bottom: 24px;
}
.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.map-legend {
    display: flex;
    gap: 10px;
}
.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}
.badge-ip { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid #ef4444; }
.badge-gps { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid #3b82f6; }
.badge-denied { background: rgba(148, 163, 184, 0.2); color: #94a3b8; }

.table-responsive {
    overflow-x: auto;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.data-table th, .data-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #334155;
}
.data-table th {
    background: #0f172a;
    color: #94a3b8;
    font-weight: 600;
}
.small-text {
    font-size: 0.75rem;
    color: #64748b;
}
.fp-specs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.75rem;
    color: #cbd5e1;
}
.btn-small {
    background: #2563eb;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}
.btn-secondary {
    background: #475569;
}

/* ========== PRIMING MODAL CSS ========== */
.priming-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: overlayFadeIn 0.3s ease;
}
@keyframes overlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.priming-modal {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(40px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.priming-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
.priming-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
}
.priming-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}
.priming-desc strong {
    color: #0f172a;
    background: #fef08a;
    padding: 2px 6px;
    border-radius: 4px;
}
.priming-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.05rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #10b981, #059669);
    transition: transform 0.2s, box-shadow 0.2s;
}
.priming-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}


