/* =========================================================
   LICENSES PAGE / LICENZII MFO
   ========================================================= */

.licenses-hero {
    padding-bottom: 28px;
}

.licenses-section {
    padding-top: 28px;
}

.licenses-box {
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.licenses-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(18, 184, 134, 0.08);
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.licenses-box h2 {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.25;
    color: #1f2933;
}

.licenses-box h2.section-title {
    margin-top: 0;
}

.licenses-box h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 1.3;
    color: #1f2933;
}

.licenses-box p {
    margin: 0 0 14px;
    color: #374151;
    font-size: 15.5px;
    line-height: 1.7;
}

/* Важные примечания */

.license-warning {
    margin: 22px 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f8fafc;
    border-left: 4px solid #12b886;
    color: #374151;
    font-size: 15.5px;
    line-height: 1.65;
}

.license-warning strong {
    color: #111827;
}

/* Таблица лицензий */

.licenses-table-wrap {
    margin: 22px 0 32px;
}

.licenses-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1120px;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

.licenses-table thead th {
    background: #f8fafc;
    color: #1f2933;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    line-height: 1.35;
    padding: 14px 14px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.licenses-table tbody td {
    color: #374151;
    font-size: 13px;
    line-height: 1.55;
    padding: 14px 14px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: top;
}

.licenses-table tbody tr:last-child td {
    border-bottom: none;
}

.licenses-table tbody tr:hover {
    background: #f8fafc;
}

.license-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.license-brand strong {
    color: #111827;
    font-size: 13.5px;
}

.license-logo {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #12b886, #1971c2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 18px rgba(18, 184, 134, 0.16);
}

.status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
}

.status-ok {
    background: rgba(18, 184, 134, 0.10);
    color: #0f766e;
}

.status-check {
    background: rgba(25, 113, 194, 0.10);
    color: #14599a;
}

.status-stop {
    background: rgba(239, 68, 68, 0.10);
    color: #b91c1c;
}

/* Шаги проверки */

.license-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 32px;
}

.license-step {
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.license-step span {
    display: inline-flex;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
    color: #12b886;
}

.license-step p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.55;
}

/* Риски */

.license-risk-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 32px;
}

.license-risk-card {
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.license-risk-card h3 {
    margin-bottom: 8px;
}

.license-risk-card p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.55;
}

/* =========================================================
   LICENSES PAGE RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {
    .license-steps,
    .license-risk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .licenses-hero {
        padding-bottom: 22px;
    }

    .licenses-section {
        padding-top: 22px;
    }

    .licenses-box h2 {
        margin-top: 26px;
        font-size: 21px;
    }

    .licenses-box h3 {
        font-size: 18px;
    }

    .licenses-box p,
    .license-warning {
        font-size: 14px;
    }

    .licenses-table {
        min-width: 980px;
    }

    .licenses-table thead th,
    .licenses-table tbody td {
        padding: 12px;
        font-size: 12.5px;
    }

    .license-logo {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .license-steps,
    .license-risk-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .licenses-updated {
        font-size: 12px;
        padding: 7px 10px;
    }

    .license-step,
    .license-risk-card {
        border-radius: 16px;
    }

    .licenses-box h2 {
        font-size: 20px;
    }
}