@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700&family=Unbounded:wght@400;600;700&display=swap');

:root {
    --bg: #f5f7fb;
    --bg-alt: #e9eef5;
    --ink: #0b1120;
    --muted: #5c6470;
    --accent: #1d4ed8;
    --accent-2: #0f766e;
    --accent-3: #0b3c6f;
    --card: rgba(255, 255, 255, 0.9);
    --stroke: rgba(15, 23, 42, 0.12);
    --shadow: 0 26px 70px rgba(15, 23, 42, 0.14);
    --radius: 22px;
    --nav-offset: 90px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Sora', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(29, 78, 216, 0.14), transparent 45%),
        radial-gradient(circle at 88% 18%, rgba(15, 118, 110, 0.14), transparent 40%),
        linear-gradient(135deg, var(--bg) 0%, #ffffff 55%, var(--bg-alt) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.page::before,
.page::after {
    content: '';
    position: fixed;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(0);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.page::before {
    background: radial-gradient(circle, rgba(29, 78, 216, 0.7) 0%, transparent 70%);
    top: -120px;
    left: -140px;
}

.page::after {
    background: radial-gradient(circle, rgba(15, 118, 110, 0.7) 0%, transparent 70%);
    bottom: -140px;
    right: -120px;
}

.page > * {
    position: relative;
    z-index: 1;
}

.site-nav {
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 999;
}

:target::before {
    content: '';
    display: block;
    height: var(--nav-offset);
    margin-top: calc(-1 * var(--nav-offset));
}

@media (max-width: 768px) {
    :root {
        --nav-offset: 110px;
    }
}

[id] {
    scroll-margin-top: 120px;
}

.navbar-toggler {
    border-color: var(--stroke);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(18, 19, 26, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(29, 78, 216, 0.3);
}

.navbar-nav .nav-link {
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-right: 16px;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-3);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.btn {
    border-radius: 999px;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    border: none;
    box-shadow: 0 12px 30px rgba(29, 78, 216, 0.24);
}

.btn-primary:hover {
    filter: brightness(0.96);
}

.btn-outline-light {
    border-color: rgba(11, 18, 32, 0.2);
    color: var(--ink);
}

.btn-outline-light:hover {
    background: var(--ink);
    color: #fff;
}

.hero-shell {
    margin: 24px;
    padding: 56px 0;
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 12% 25%, rgba(29, 78, 216, 0.2), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(15, 118, 110, 0.16), transparent 45%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(226, 232, 240, 0.9));
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.7s ease both;
}

.hero-shell::after {
    content: '';
    position: absolute;
    inset: -40% -10% auto auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(29, 78, 216, 0.22), transparent 70%);
    border-radius: 50%;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 12px;
    color: var(--accent-3);
    font-weight: 600;
}

.display-4 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

.lead {
    color: var(--muted);
    font-size: 18px;
}

.hero-search {
    margin-top: 26px;
    display: grid;
    gap: 10px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 18px 0 12px;
}

.hero-actions .btn {
    padding: 10px 18px;
}

.hero-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--muted);
}

.hero-meta i {
    color: var(--accent);
    margin-right: 6px;
}

.search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.search-field i {
    position: absolute;
    left: 18px;
    color: var(--muted);
}

.search-field input {
    padding-left: 44px;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

.hint {
    font-size: 12px;
    color: var(--muted);
}

.search-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.search-modal.is-open {
    display: flex;
}

.search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, 0.55);
    backdrop-filter: blur(6px);
}

.search-modal__panel {
    position: relative;
    width: min(900px, 92vw);
    max-height: 85vh;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 22px;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.search-modal__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 11px;
    color: var(--accent-3);
    margin-bottom: 6px;
}

.search-modal__close {
    border: 1px solid var(--stroke);
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.search-modal__field {
    position: relative;
    display: flex;
    align-items: center;
}

.search-modal__field i {
    position: absolute;
    left: 18px;
    color: var(--muted);
}

.search-modal__field input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    font-size: 16px;
}

.search-modal__meta {
    font-size: 13px;
    color: var(--muted);
}

.search-modal__results {
    overflow-y: auto;
    display: grid;
    gap: 12px;
}

.lead-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lead-modal.is-open {
    display: flex;
}

.lead-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, 0.55);
    backdrop-filter: blur(6px);
}

.lead-modal__panel {
    position: relative;
    width: min(560px, 92vw);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    padding: 24px;
    display: grid;
    gap: 12px;
}

.lead-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lead-modal__close {
    border: 1px solid var(--stroke);
    background: #fff;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lead-nudge {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}

.lead-nudge.is-open {
    display: flex;
}

.lead-nudge__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 17, 32, 0.55);
    backdrop-filter: blur(6px);
}

.lead-nudge__panel {
    position: relative;
    width: min(520px, 92vw);
    background: #fff;
    border-radius: 18px;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    padding: 22px;
    display: grid;
    gap: 12px;
}

.lead-nudge__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lead-nudge__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 11px;
    color: var(--accent-3);
    margin-bottom: 4px;
}

.lead-nudge__emoji {
    display: flex;
    justify-content: center;
    margin: 4px 0 6px;
}

.lead-nudge__emoji img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    z-index: 1200;
    visibility: visible;
}

.cookie-banner__content {
    max-width: 640px;
    color: var(--muted);
    font-size: 14px;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
}

.search-result {
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: #fff;
    text-decoration: none;
    color: var(--ink);
}

.search-result__title {
    font-weight: 600;
}

.search-result__meta {
    font-size: 12px;
    color: var(--muted);
}

.search-result__action {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-3);
    font-weight: 600;
}

.card.stats-card {
    border-radius: 18px;
    background: rgba(11, 18, 32, 0.96);
    color: #fff;
    border: none;
}

.card.stats-card .stat-number,
.card.stats-card .stat-label {
    color: #fff;
}

.stat {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
    border-bottom: none;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.stat-number {
    font-size: 26px;
    font-weight: 700;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    padding: 12px 0 20px;
}

.how-it-works,
.value-section,
.guides,
.faq {
    padding: 30px 0 10px;
}

.outage-section {
    padding: 20px 0 40px;
}

.outage-card {
    border-left: 4px solid var(--accent);
}

.outage-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.outage-actions .btn {
    padding: 10px 14px;
    font-size: 14px;
}

.section-title h2,
.section-title h1 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
}

.section-note {
    color: var(--muted);
    font-size: 14px;
    margin-top: 6px;
}

.card {
    border: 1px solid var(--stroke);
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow);
}

.modern-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(29, 78, 216, 0.12);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 18px;
}

.card-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 20px;
}

.card-title i {
    margin-right: 8px;
    color: var(--accent);
}

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

.step-card .step-number {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: rgba(29, 78, 216, 0.12);
    color: var(--accent-3);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.card-body ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.card-body li {
    margin-bottom: 8px;
    color: var(--muted);
}

.card-body li strong {
    color: var(--ink);
}

.glow-card {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(15, 118, 110, 0.12), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(29, 78, 216, 0.16);
}

.card-eyebrow {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent-3);
    margin-bottom: 10px;
    font-weight: 600;
}

.companies-grid .company-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.companies-grid .company-card:hover {
    transform: translateY(-6px);
}

.compact-card .card-body {
    padding: 16px;
}

.compact-card .card-title {
    font-size: 18px;
    margin-bottom: 6px;
}

.compact-card .card-text {
    font-size: 13px;
    margin-bottom: 12px;
}

.compact-card .btn {
    padding: 8px 12px;
    font-size: 13px;
}

.company-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.company-mini-logo,
.company-mini-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--stroke);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    flex-shrink: 0;
}

.company-mini-placeholder {
    color: var(--accent-3);
    font-size: 13px;
}

.brand-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.12);
    color: var(--accent-3);
    font-weight: 600;
}

.company-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 20px;
    background: #fff;
    padding: 10px;
    border: 1px solid var(--stroke);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.company-details,
.cta-section,
.outage-section,
.company-actions {
    padding: 20px 0 40px;
}

.company-support {
    padding: 10px 0 30px;
}

.company-ratings {
    padding: 10px 0 30px;
}

.rating-card .card-body {
    padding: 24px;
    display: grid;
    gap: 20px;
}

.rating-badge {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(29, 78, 216, 0.12);
    color: var(--accent-3);
    max-width: 220px;
}

.rating-score {
    font-size: 24px;
    font-weight: 700;
}

.rating-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.rating-count {
    font-size: 12px;
    color: var(--muted);
}

.rating-details {
    display: grid;
    gap: 10px;
}

.rating-details div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    background: #fff;
}

.rating-details span {
    color: var(--muted);
    font-size: 13px;
}

.rating-details strong {
    color: var(--ink);
}

.contact-section {
    padding: 20px 0 40px;
}

.contact-card .card-body {
    padding: 24px;
}

.cta-list {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 14px;
    color: var(--muted);
    display: grid;
    gap: 6px;
}

.cta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-list i {
    color: var(--accent);
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.12);
    color: var(--accent-3);
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 10px;
}

.cta-card .card-body {
    padding: 20px;
}

.notice {
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.96), rgba(29, 78, 216, 0.45));
    color: #fff;
    margin: 0 12vw 60px;
    padding: 26px;
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.notice-list {
    margin: 12px 0 16px;
    padding-left: 18px;
}

.notice-list li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
}

.notice-cta {
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
}

.notice-cta:hover {
    background: #fff;
    color: var(--ink);
}

.outage-tooltip {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(11, 17, 32, 0.9);
    color: #fff;
    font-size: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.1s ease;
    z-index: 2;
}

.outage-chart-card .card-body {
    position: relative;
}

.outage-chart-card canvas {
    width: 100%;
    height: 160px;
}

.form-control,
.form-select {
    border-radius: 14px;
    border: 1px solid var(--stroke);
}

.form-check-label {
    color: var(--muted);
    font-size: 13px;
}

.form-hint {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px;
}

.guide-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    color: var(--muted);
}

.guide-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
}

.guide-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.template-block {
    margin: 0;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: rgba(248, 250, 252, 0.9);
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: var(--ink);
    white-space: pre-wrap;
}

.accordion-item {
    border: 1px solid var(--stroke);
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--card);
    box-shadow: var(--shadow);
}

.accordion-button {
    font-weight: 600;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.88);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--ink);
    background: rgba(29, 78, 216, 0.12);
}

.accordion-body {
    color: var(--muted);
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin: 12px 0;
    border: 1px solid transparent;
}

.alert.success {
    background: rgba(45, 212, 191, 0.16);
    color: #0f766e;
    border-color: rgba(45, 212, 191, 0.4);
}

.alert.error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.3);
}

.site-footer {
    margin-top: auto;
    padding: 50px 0 30px;
    color: var(--muted);
    background: rgba(11, 17, 32, 0.02);
    border-top: 1px solid var(--stroke);
}

.footer-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
}

.footer-grid h5 {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--ink);
}

.footer-grid a {
    display: block;
    text-decoration: none;
    color: var(--muted);
    margin-bottom: 8px;
}

.footer-grid a:hover {
    color: var(--ink);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: rgba(18, 19, 26, 0.08);
    color: var(--ink);
    margin-right: 8px;
}

.account-section {
    padding: 10px 0 70px;
}

.account-grid {
    align-items: stretch;
}

.account-section .card {
    height: auto;
}

.account-section .card-title {
    margin-bottom: 10px;
}

.account-card {
    border-radius: 20px;
}

.account-card .card-body {
    padding: 24px;
}

.account-section .form-control,
.account-section .form-select,
.account-section textarea {
    background: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--stroke);
    padding-top: 16px;
    font-size: 12px;
}

.privacy {
    padding: 40px 8vw 60px;
}

.privacy-content {
    background: var(--card);
    padding: 24px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.admin-body {
    background: var(--bg);
}

.admin-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.admin-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.admin-menu__link {
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(29, 78, 216, 0.1);
    color: var(--accent-3);
    font-weight: 600;
    font-size: 13px;
}

.admin-menu__link.is-active {
    background: var(--accent-3);
    color: #fff;
}

.admin-card {
    background: var(--card);
    padding: 30px;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.admin-card h1 {
    margin-top: 0;
    font-family: 'Unbounded', sans-serif;
}

.admin-card input,
.admin-card textarea,
.admin-card button {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    font-size: 14px;
}

.admin-card button {
    background: linear-gradient(135deg, var(--accent), #ff914d);
    border: none;
    color: #fff;
    cursor: pointer;
}

.admin-card button:hover {
    filter: brightness(0.96);
}

.admin-dashboard {
    margin-top: 30px;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.metric-card {
    background: rgba(11, 17, 32, 0.04);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-card span {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.metric-card strong {
    font-size: 22px;
    color: var(--ink);
}

.admin-nav {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-nav a {
    text-decoration: none;
    background: rgba(29, 78, 216, 0.12);
    color: var(--accent-3);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 12px 0 18px;
}

.admin-grid input,
.admin-grid select,
.admin-grid button {
    width: 100%;
}

.admin-card h3 {
    margin-top: 20px;
}

.admin-requests {
    margin-top: 30px;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--stroke);
    vertical-align: top;
}

.admin-inline-form {
    display: grid;
    gap: 8px;
}

.admin-inline-form button {
    width: 100%;
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.admin-inline-form button[value="delete"] {
    background: #9f1239;
}

.admin-inline-form button[value="reopen"] {
    background: #0f766e;
}

.admin-inline-form button[value="progress"] {
    background: #1d4ed8;
}

.status-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(15, 23, 42, 0.08);
    color: var(--ink);
}

.status-open {
    background: rgba(29, 78, 216, 0.12);
    color: var(--accent-3);
}

.status-in_progress {
    background: rgba(15, 118, 110, 0.16);
    color: var(--accent-2);
}

.status-closed {
    background: rgba(15, 23, 42, 0.12);
    color: var(--ink);
}

.logout {
    text-decoration: none;
    color: var(--accent);
}

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    text-decoration: none;
    color: var(--muted);
}

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

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 992px) {
    .hero-shell {
        margin: 16px;
        padding: 36px 0;
    }
}

@media (max-width: 768px) {
    .site-nav {
        padding: 12px 16px;
    }
    .hero-shell {
        margin: 12px;
    }
    .notice {
        margin: 0 6vw 40px;
    }
}
