.frb-account-tab h2 {
    margin-bottom: 18px;
}

.frb-license-table small,
.frb-muted {
    color: #6b7280;
    display: block;
}

.frb-status-badge {
    border-radius: 999px;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
}

.frb-status-active {
    background: #dcfce7;
    color: #166534;
}

.frb-status-expired {
    background: #fee2e2;
    color: #991b1b;
}

.frb-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.frb-card-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.frb-content-card {
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 16px;
}

.frb-content-card img {
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    display: block;
    height: auto;
    margin-bottom: 12px;
    object-fit: cover;
    width: 100%;
}

.frb-content-card h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.frb-modal {
    align-items: center;
    background: rgba(17, 24, 39, 0.58);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 20px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.frb-modal[hidden] {
    display: none;
}

.frb-modal__dialog {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    max-width: 560px;
    padding: 24px;
    position: relative;
    width: min(100%, 560px);
}

.frb-modal__close {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    position: absolute;
    right: 14px;
    top: 12px;
}

.frb-modal__hint {
    color: #6b7280;
    margin-top: -4px;
}

.frb-ajax-form p {
    margin-bottom: 14px;
}

.frb-ajax-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.frb-ajax-form input[type="text"] {
    width: 100%;
}

.frb-form-message {
    margin: 10px 0;
}

.frb-message-error {
    color: #b91c1c;
}

.frb-message-success {
    color: #166534;
}

@media (max-width: 640px) {
    .frb-modal {
        align-items: flex-end;
        padding: 0;
    }

    .frb-modal__dialog {
        border-radius: 8px 8px 0 0;
        max-height: 92vh;
        overflow: auto;
    }
}
