@import url('/css/brand.css');

.platform-link {
    color: #cffafe;
}

.disclaimer-container {
    margin-top: 18px;
    margin-bottom: 10px;
}

.site-disclaimer-note {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
    text-align: center;
}

.modal-content-rounded {
    border-radius: 15px;
}

.modal-header-primary {
    background: linear-gradient(135deg, #0f766e, #0b5f59);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header-accent {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-footer-clean {
    border-top: none;
    padding: 0 1rem 1rem 1rem;
}

.confirm-text {
    margin-bottom: 12px;
    color: #333;
}

.alert-text-small {
    font-size: 13px;
}

.text-muted-small {
    font-size: 13px;
}

.text-muted-xs {
    font-size: 12px;
    color: #666;
}

.inline-icon-primary {
    color: #0f766e;
    margin-right: 8px;
}

.inline-icon-success {
    color: var(--success-color, #14b8a6);
}

.flex-grow-center {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.inline-actions-gap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-danger-gradient {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.spinner-inline-muted {
    color: #666;
}

.spinner-panel-light {
    display: none;
    text-align: center;
    padding: 30px;
    color: white;
    font-size: 18px;
}

.spinner-panel-light.is-visible,
.spinner-inline-muted.is-visible {
    display: block;
}

.empty-icon-lg {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-icon-md {
    font-size: 50px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-title {
    color: #333;
    font-weight: 700;
}

.empty-title-sm {
    color: #333;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
}

.empty-text {
    color: #999;
}

.empty-text-spaced {
    color: #999;
    margin-bottom: 30px;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color, #0f766e), #0b5f59);
    border: none;
    color: white;
}

.history-back-wrap {
    text-align: center;
    margin-top: 30px;
}

.history-list-messages {
    color: #555;
    font-size: 13px;
    margin: 8px 0 0 0;
    padding-left: 20px;
}

.history-item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.section-title-white {
    color: white;
    font-weight: 700;
}

.section-title-white-tight {
    color: white;
    font-weight: 700;
    margin: 0;
}

.section-title-white-spaced {
    color: white;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title-dark {
    color: #333;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-title-dark-tight {
    margin: 0;
    font-weight: 700;
    color: #1f2937;
}

.rule-source-meta {
    font-size: 12px;
    color: #888;
    margin-top: 6px;
}

.rule-source-link-wrap {
    font-size: 12px;
    margin-top: 4px;
}

.rule-source-link-wrap-spaced {
    font-size: 12px;
    margin-top: 6px;
}

.rule-source-link {
    color: var(--primary-color, #0f766e);
}

.rule-source-note {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.rule-source-note-spaced {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

.rule-card-main {
    flex: 1;
}

.rule-id-small {
    color: #999;
    font-weight: 400;
}

.rule-review-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.review-queue-spinner {
    display: none;
    color: #666;
}

.review-queue-main {
    font-weight: 700;
    color: #1f2937;
}

.review-queue-sub {
    font-size: 12px;
    color: #666;
}

.review-queue-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.review-stat-icon-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.review-stat-text {
    font-size: 12px;
    color: #666;
}

.review-queue-link {
    font-size: 12px;
    font-weight: 600;
    color: #0f766e;
    text-decoration: none;
}

.admin-page-header {
    margin-bottom: 20px;
}

.admin-page-title {
    color: #102a43;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 6px;
}

.admin-page-title i {
    color: #0f766e;
    margin-right: 10px;
}

.admin-page-subtitle {
    color: #52606d;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.admin-task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
}

.admin-task-card,
.admin-quick-link {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 20px;
}

.admin-task-label {
    color: #52606d;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-task-value {
    color: #102a43;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 8px;
}

.admin-task-note {
    color: #52606d;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-top: 10px;
}

.admin-quick-link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.admin-quick-link {
    color: #102a43;
    display: block;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-quick-link:hover,
.admin-quick-link:focus-visible {
    color: #102a43;
    border-color: #0f766e;
    box-shadow: 0 14px 34px rgba(15, 118, 110, 0.12);
    transform: translateY(-2px);
}

.admin-quick-link-title {
    color: #102a43;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.admin-quick-link-title i {
    color: #0f766e;
    margin-right: 10px;
}

.admin-quick-link-text {
    color: #52606d;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.quick-actions-title {
    color: #102a43;
    font-weight: 700;
    margin-bottom: 20px;
}

.quick-actions-icon {
    color: var(--success-color, #14b8a6);
}

.quota-helper {
    display: block;
    margin-top: 4px;
}

.summary-panel {
    margin-top: 15px;
}

.summary-title {
    font-weight: 700;
    margin-bottom: 6px;
}

.summary-date {
    margin-bottom: 8px;
}

.summary-list {
    margin-top: 6px;
    margin-bottom: 0;
}

.rule-block-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.rule-message-gap {
    margin-bottom: 6px;
}

.reason-code {
    font-size: 12px;
}

.rule-fix-alert {
    margin: 8px 0;
    padding: 10px;
}

.rule-evidence-gap {
    margin-bottom: 10px;
}

.rule-severity-label {
    font-size: 12px;
    color: #999;
}

.rule-severity-value {
    color: #333;
    font-weight: 600;
}

.rule-source-wrap {
    margin-top: 8px;
    font-size: 12px;
}

.rule-source-reference {
    margin-top: 8px;
    font-size: 12px;
    color: #555;
}

.result-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.result-action {
    flex: 1;
    min-width: 160px;
}

.result-empty-title {
    color: #999;
}

.result-empty-text {
    color: #bbb;
    margin-bottom: 0;
}

.site-footer {
    background: transparent;
    text-align: center;
    padding: 12px 0 14px;
    margin-top: 12px;
    border-top: 1px solid rgba(148, 163, 184, 0.22);
}

footer.site-footer {
    background: #f3f4f6;
    border-top: 1px solid #dbe3eb;
    margin-top: 48px;
    color: #475569;
    font-size: 0.92rem;
}

.site-footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 28px 16px 24px;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.site-footer-column {
    min-width: 0;
}

.site-footer-title {
    margin: 0 0 12px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.site-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.site-footer-links a {
    color: #475569;
    text-decoration: none;
}

.site-footer-link-button {
    appearance: none;
    background: none;
    border: none;
    color: #475569;
    padding: 0;
    font: inherit;
    text-align: inherit;
    cursor: pointer;
}

.site-footer-links a:hover,
.site-footer-links a:focus-visible,
.site-footer-link-button:hover,
.site-footer-link-button:focus-visible {
    color: #0f766e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #dbe3eb;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.site-footer-disclaimer,
.site-footer-copy {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #64748b;
}

.container-main,
.page-shell {
    min-height: calc(100vh - 320px);
}

body.cookie-consent-open {
    overflow: hidden;
}

.cookie-consent-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.44);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 1040;
}

.cookie-consent-backdrop.is-visible {
    opacity: 1;
}

.cookie-consent-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 1050;
}

.cookie-consent-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-consent-card {
    width: min(100%, 560px);
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid #dbe3eb;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    padding: 24px;
    transform: translateY(16px);
    transition: transform 0.22s ease, opacity 0.22s ease;
    opacity: 0;
}

.cookie-consent-modal.is-visible .cookie-consent-card {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.cookie-consent-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 700;
    color: #102a43;
    line-height: 1.2;
}

.cookie-consent-close {
    appearance: none;
    background: transparent;
    border: none;
    color: #64748b;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.cookie-consent-close:hover,
.cookie-consent-close:focus-visible {
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
}

.cookie-consent-description,
.cookie-consent-customize-text {
    margin: 0;
    color: #52606d;
    font-size: 0.96rem;
    line-height: 1.6;
}

.cookie-consent-customize {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid #dbe3eb;
    border-radius: 12px;
    background: #f8fafc;
}

.cookie-consent-inline-link {
    appearance: none;
    background: none;
    border: none;
    color: #0f766e;
    padding: 0;
    margin-top: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.cookie-consent-btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.cookie-consent-btn:hover,
.cookie-consent-btn:focus-visible {
    transform: translateY(-1px);
}

.cookie-consent-btn-primary {
    background: linear-gradient(135deg, #0f766e, #0b5f59);
    color: white;
    box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
}

.cookie-consent-btn-secondary {
    background: white;
    color: #102a43;
    border-color: #cbd5e1;
}

.cookie-consent-btn-tertiary {
    background: #f8fafc;
    color: #475569;
    border-color: #e2e8f0;
}

.cookie-consent-close:focus-visible,
.cookie-consent-inline-link:focus-visible,
.cookie-consent-btn:focus-visible,
.site-footer-link-button:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .site-footer-inner {
        padding: 24px 16px 20px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-footer-bottom {
        margin-top: 20px;
        padding-top: 16px;
    }

    .container-main,
    .page-shell {
        min-height: calc(100vh - 300px);
    }

    .cookie-consent-modal {
        align-items: end;
        padding: 16px;
    }

    .cookie-consent-card {
        width: 100%;
        padding: 20px;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }
}

