/* MilitarySci frontend account UI styles. */
.msi-account {
    max-width: 960px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.msi-account h2 {
    font-size: 28px;
    margin-bottom: 24px;
    color: #1d2327;
}
.msi-account-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 20px;
}
.msi-account-section h3 {
    margin-top: 0;
    font-size: 18px;
    color: #1d2327;
    border-bottom: 1px solid #f0f0f1;
    padding-bottom: 10px;
}
.msi-plan-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #2271b1;
    color: #fff;
}
.msi-plan-free         { background: #646970; }
.msi-plan-professional { background: #00a32a; }
.msi-plan-researcher   { background: #0073aa; }
.msi-plan-analyst      { background: #996800; }
.msi-plan-industry     { background: #5e3aad; }
.msi-plan-company      { background: #b32d2e; }
.msi-plan-exhibitor    { background: #d63638; }
.msi-plan-enterprise   { background: #1d2327; }

.msi-entitlements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}
.msi-entitlements-list li {
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.msi-ent-has  { background: #edfaef; color: #1a7d35; }
.msi-ent-lacks { background: #fbeaea; color: #b32d2e; }
.msi-ent-icon { font-weight: bold; margin-right: 8px; }

.msi-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}
.msi-table th,
.msi-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f1;
    font-size: 14px;
}
.msi-table th {
    font-weight: 600;
    color: #50575e;
    background: #f6f7f7;
}

.msi-state {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.msi-state-active    { background: #edfaef; color: #1a7d35; }
.msi-state-expired   { background: #fbeaea; color: #b32d2e; }
.msi-state-pending   { background: #fcf9e8; color: #996800; }
.msi-state-cancelled { background: #f0f0f1; color: #646970; }

.msi-access {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.msi-access-public          { background: #edfaef; color: #1a7d35; }
.msi-access-registered      { background: #e5f5fa; color: #0073aa; }
.msi-access-verified_member { background: #fcf9e8; color: #996800; }
.msi-access-premium         { background: #fbeaea; color: #b32d2e; }
.msi-access-specific_plan   { background: #fbeaea; color: #b32d2e; }
.msi-access-internal        { background: #1d2327; color: #fff; }

.msi-locked {
    color: #b32d2e;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.msi-login-required {
    background: #fcf9e8;
    border: 1px solid #f0c040;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
}
