:root {
    --primary: #1a1d23;
    --danger: #d9534f;
    --danger-dark: #b91c1c;
    --bg: #f4f7f6;
    --white: #ffffff;
    --line: #e2e8f0;
    --muted: #64748b;
    --text: #0f172a;
    --soft-red: #fff5f5;
    --soft-red-line: #fecaca;
    --gold: #ffc107;
    --chip: #eef2f7;
    --chip-line: #d8e0ea;
    --success-bg: #ecfdf5;
    --success-line: #bbf7d0;
    --success-line-strong: #22c55e;
    --success-text: #166534;
    --success-soft-text: #15803d;
}

* { box-sizing: border-box; }

body {
    background: var(--bg);
    font-family: -apple-system, system-ui, sans-serif;
    margin: 0;
    padding: 20px 12px 120px;
    color: #333;
}

.container { max-width: 760px; margin: 0 auto; }

.card {
    background: var(--white);
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #e1e8ed;
}

.hero {
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 1px solid #eef2f7;
}

.hero-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.alert-pill {
    display: inline-block;
    background: linear-gradient(90deg, #1a1d23, #111827);
    color: var(--gold);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 999px;
}

.update-btn-top {
    display: inline-block;
    background: #1a1d23;
    color: #ffc107;
    font-weight: 900;
    font-size: 11px;
    padding: 10px 16px;
    border-radius: 999px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

.company-title {
    margin: 0;
    color: var(--text);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.meta-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.chip {
    background: var(--chip);
    border: 1px solid var(--chip-line);
    color: #22324a;
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}

.chip.good { background: var(--success-bg); border-color: var(--success-line); color: var(--success-text); }
.chip.bad { background: var(--soft-red); border-color: var(--soft-red-line); color: #991b1b; }

.address-line {
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
}

.alert-bar {
    background: #a91414;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 800;
}

.intel-form-container {
    padding: 30px 20px;
    text-align: center; /* Centering the submission area */
}

.intel-form-container form {
    text-align: left; /* Keep inputs left-aligned for better UX */
    max-width: 600px;
    margin: 0 auto;
}

.section-title { font-size: 20px; font-weight: 900; color: var(--text); margin: 0; }
.section-subtitle { font-size: 14px; color: var(--muted); margin: 5px 0 20px; font-weight: 600; }

textarea, input[type="text"], input[type="number"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #edf2f7;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 15px;
}

.security-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 15px;
    border: 1px dashed #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.btn-post {
    background: var(--primary);
    color: var(--gold);
    border: none;
    padding: 18px;
    width: 100%;
    border-radius: 15px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.comment-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 16px;
    margin-bottom: 10px;
    border-radius: 14px;
    border-left: 5px solid var(--gold);
}

 .footer-actions {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #fff;
            border-top: 1px solid #e9ecef;
            display: flex;
            padding: 12px 8px;
            gap: 10px;
            justify-content: center;
            z-index: 1000;
            box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
        }

        .footer-actions a {
            flex: 1;
            max-width: 100px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-decoration: none;
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            padding: 10px 0;
            border-radius: 12px;
            transition: 0.2s;
        }

        .footer-actions .icon {
            font-size: 22px;
            margin-bottom: 4px;
        }

        .footer-actions .label {
            font-size: 10px;
            font-weight: 800;
            color: #6b7280;
            text-transform: uppercase;
        }


@media (max-width: 640px) {
    .alert-bar, .security-box { flex-direction: column; align-items: flex-start; }
    .footer-actions .label { display: none; }
}