.fvrl-license-box {
    display: flex;
    gap: 16px;
    margin: 28px 0;
    padding: 22px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #f8fafc;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .05);
}

.fvrl-user-license-list {
    display: grid;
    gap: 12px;
}

.fvrl-user-license-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
    border: 1px solid #edf0f2;
    border-radius: 8px;
    background: #fff;
}

.fvrl-user-license-main h6 {
    margin: 0 0 6px;
}

.fvrl-user-license-code {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.fvrl-user-license-code code {
    padding: 8px 10px;
    border-radius: 5px;
    background: #f4f6f8;
    color: #202124;
    font-size: 14px;
}

.fvrl-empty-state {
    padding: 36px 20px;
    text-align: center;
    color: #8c939b;
}

.fvrl-empty-state span {
    display: block;
    margin-bottom: 8px;
    font-size: 34px;
}

@media (max-width: 640px) {
    .fvrl-user-license-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .fvrl-user-license-code {
        width: 100%;
    }

    .fvrl-user-license-code code {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}

.fvrl-license-box--sidebar {
    gap: 10px;
    margin: 14px 0 0;
    padding: 14px 0 0;
    border: 0;
    border-top: 1px dashed #d7dce2;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.fvrl-license-box--sidebar .fvrl-license-icon {
    display: none;
}

.fvrl-license-box--sidebar .fvrl-license-content h3 {
    margin-bottom: 8px;
    font-size: 14px;
}

.fvrl-license-box--sidebar .fvrl-message {
    font-size: 13px;
    line-height: 1.7;
}

.fvrl-code-source {
    display: block;
    margin-bottom: 4px;
    color: #667085;
    font-size: 11px;
}

.fvrl-license-box--sidebar .fvrl-code-row {
    flex-direction: column;
}

.fvrl-license-box--sidebar .fvrl-code {
    width: 100%;
    font-size: 13px;
}

.fvrl-license-box--sidebar .fvrl-button {
    width: 100%;
}

.fvrl-license-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff3cd;
    font-size: 22px;
}

.fvrl-license-content {
    flex: 1;
    min-width: 0;
}

.fvrl-license-content h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.fvrl-message {
    margin: 0 0 12px;
    color: #475569;
}

.fvrl-error {
    color: #b42318;
}

.fvrl-code-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 10px;
}

.fvrl-code-row > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.fvrl-code {
    flex: 1;
    min-width: 0;
    padding: 11px 13px;
    border: 1px dashed #94a3b8;
    border-radius: 7px;
    background: #fff;
    color: #0f172a;
    font-size: 16px;
    overflow-wrap: anywhere;
    user-select: all;
}

.fvrl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 0;
    border-radius: 7px;
    background: #f59e0b;
    color: #fff !important;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
}

.fvrl-button:hover {
    background: #d97706;
}

.fvrl-purchase {
    margin-left: 8px;
    background: #2563eb;
}

.fvrl-purchase:hover {
    background: #1d4ed8;
}

.fvrl-license-box--sidebar .fvrl-purchase {
    margin: 8px 0 0;
}

.fvrl-button:disabled {
    opacity: .65;
    cursor: wait;
}

.fvrl-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    border: 2px solid #cbd5e1;
    border-top-color: #f59e0b;
    border-radius: 50%;
    vertical-align: -2px;
    animation: fvrl-spin .8s linear infinite;
}

@keyframes fvrl-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 575px) {
    .fvrl-license-box { padding: 16px; }
    .fvrl-license-icon { display: none; }
    .fvrl-code-row { flex-direction: column; }
    .fvrl-purchase { margin: 8px 0 0; }
}
