﻿/* =============================================================
   MDS Intelligence | Mini Design System
   ============================================================= */
:root {
    --mds-primary-900: #0b1b33;
    --mds-primary-800: #12325b;
    --mds-primary-700: #1f4d87;
    --mds-primary-600: #2f6ff0;
    --mds-surface-100: #f5f8fc;
    --mds-surface-200: #edf3fa;
    --mds-border: #d7e1ef;
    --mds-text-900: #132846;
    --mds-text-700: #415773;
    --mds-ok: #0f9d76;
    --mds-warn: #d97706;
    --mds-danger: #b91c1c;
    --mds-shadow-soft: 0 8px 24px rgba(17, 40, 70, 0.10);
}

.page-title {
    margin: 0;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--mds-text-900);
    border: 0;
    padding: 0;
}

.page-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--mds-text-700);
}

.panel-corporate {
    background: #fff;
    border: 1px solid var(--mds-border);
    border-radius: 14px;
    box-shadow: var(--mds-shadow-soft);
}

.panel-glass {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.kpi-card,
.benchmark-card,
.status-card {
    background: #fff;
    border: 1px solid var(--mds-border);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 39, 67, 0.06);
}

.action-button-primary {
    background: linear-gradient(180deg, #2f6ff0, #1f5dd8) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
}

.action-button-primary:hover {
    filter: brightness(1.03);
}

.action-button-secondary {
    background: #f7f9fd !important;
    color: var(--mds-text-900) !important;
    border: 1px solid var(--mds-border) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

.action-button-secondary:hover {
    background: #eef3fa !important;
}

.badge-status-success,
.badge-status-warning,
.badge-status-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-status-success {
    background: rgba(15, 157, 118, 0.14);
    color: var(--mds-ok);
}

.badge-status-warning {
    background: rgba(217, 119, 6, 0.14);
    color: var(--mds-warn);
}

.badge-status-danger {
    background: rgba(185, 28, 28, 0.14);
    color: var(--mds-danger);
}

.ranking-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.coverage-bar {
    height: 8px;
    border-radius: 999px;
    background: #e8eef7;
    overflow: hidden;
}

.coverage-bar > i {
    display: block;
    height: 100%;
    background: #2ea987;
    border-radius: 999px;
}

.brand-product-name {
    letter-spacing: 0.2px;
    font-weight: 700;
}

/* Shared layout polish */
.navbar {
    border: 1px solid var(--mds-border);
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(17, 40, 70, 0.06);
}

.app-footer {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(19, 40, 70, 0.68);
    padding: 1rem 0;
    line-height: 1.2;
}

.footer-meta {
    display: block;
    font-size: 0.75rem;
    opacity: 0.78;
    margin-top: 2px;
}

body.plaft-login .app-footer {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(92vw, 640px);
    color: rgba(224, 234, 248, 0.68);
    z-index: 3;
    padding: 0.4rem 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

body.plaft-login .footer-meta {
    color: rgba(208, 222, 243, 0.82);
}

@media (max-width: 768px) {
    .app-footer {
        font-size: 0.78rem;
        padding: 0.8rem 0;
    }

    .footer-meta {
        font-size: 0.7rem;
    }

    body.plaft-login .app-footer {
        bottom: 10px;
        width: min(95vw, 560px);
    }
}
