.vxl-licenses-table .vxl-license-product-td {
    font-size: 14px;
}

.vxl-licenses-table .vxl-license-product-td p {
    margin: 0;
}

.vxl-licenses-table .vxl-license-cell {
    margin-top: 8px;
    white-space: nowrap;
}

.vxl-licenses-table .vxl-license-key {
    margin-right: 4px;
    display: inline-block;
    background: #f1f3f5;
    padding: 0 12px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 24px;
    min-height: 24px;
}

.vxl-licenses-table .vxl-icon-btn {
    background: none;
    border: 0;
    padding: 2px;
    margin: 0 2px;
    cursor: pointer;
    line-height: 1;
    color: #555;
    vertical-align: middle;
    box-shadow: none;
}

/* Make icon button styles also apply inside modal */
.vxl-modal .vxl-icon-btn {
    background: none;
    border: 0;
    padding: 2px;
    margin: 0 2px;
    cursor: pointer;
    line-height: 1;
    color: #555;
    vertical-align: middle;
    box-shadow: none;
}

.vxl-licenses-table .vxl-icon-btn:hover, .vxl-modal .vxl-icon-btn:hover {
    color: #111;
}

.vxl-licenses-table .vxl-icon-btn:focus, .vxl-modal .vxl-icon-btn:focus {
    outline: none;
}

.vxl-licenses-table .vxl-icon-btn:focus-visible, .vxl-modal .vxl-icon-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.55);
    border-radius: 4px;
    background: rgba(34, 113, 177, 0.08);
}

.vxl-licenses-table .vxl-icon-btn:active, .vxl-modal .vxl-icon-btn:active {
    transform: scale(0.92);
}

.vxl-licenses-table .vxl-icon-btn .dashicons, .vxl-modal .vxl-icon-btn .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.vxl-licenses-table .vxl-license-copy.is-copied, .vxl-modal .vxl-license-copy.is-copied {
    color: #1a8f3a;
}

/* Full key blur behavior (entire code element) */
.vxl-license-key {
    display: inline-block;
    transition: filter .18s ease;
}

.vxl-license-key[data-state=masked] {
    filter: blur(5px);
    user-select: none;
}

.vxl-license-key[data-state=visible] {
    filter: none;
}

/* License list product cell */
.vxl-license-product {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 14px;
}

.vxl-license-thumb {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .15);
}

.vxl-license-thumb-img img {
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.vxl-license-product-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
}

/* Modal Styles */
.vxl-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vxl-modal-overlay.is-visible {
    display: flex !important;
    animation: vxlModalFade .18s ease-out;
}

@keyframes vxlModalFade {
    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.vxl-modal {
    background: #fff;
    width: 520px;
    max-width: 100%;
    border: 1px solid #d0d7e2;
    border-radius: 10px;
    box-shadow: 0 10px 32px -4px rgba(0, 0, 0, .25);
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.vxl-modal-header {
    padding: 14px 18px 10px;
    border-bottom: 1px solid #e5e7eb;
}

.vxl-modal-header h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}

.vxl-modal-close {
    position: absolute;
    top: 4px;
    right: 4px;
    background: none;
    border: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    border-radius: 6px;
}

.vxl-modal-close:hover {
    background: rgba(0, 0, 0, .06);
    color: #111;
}

.vxl-modal-body {
    padding: 16px 18px;
    overflow: auto;
    font-size: 14px;
    line-height: 1.45;
}

.vxl-modal-body .vxl-modal-thumb-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.vxl-modal-body .vxl-modal-thumb-labels h4 {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.2;
}

.vxl-modal-body .vxl-modal-thumb-labels .vxl-meta-row {
    font-size: 12px;
    color: #555;
}

.vxl-modal-footer {
    padding: 12px 18px 14px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.vxl-modal-actions-right .button {
    margin-left: 8px;
}

.vxl-modal-badge-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.vxl-modal-body code {
    background: #f1f3f5;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.vxl-license-actions-inline {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.vxl-modal-overlay[aria-hidden="true"] {
    display: none !important;
}

/* Status badge */
.vxl-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 8px 5px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: #e1e5ea;
    color: #333;
    white-space: nowrap;
}

.vxl-status-badge:before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: .9;
}

.vxl-status-badge.is-active {
    background: #e6f7ed;
    color: #14853b;
}

.vxl-status-badge.is-pending {
    background: #fff7e0;
    color: #a77400;
}

.vxl-status-badge.is-inactive {
    background: #fff0e6;
    color: #c25600;
}

.vxl-meta-muted {
    position: relative;
    color: #999999;
    text-decoration: none;
    font-weight: 300;
    transition: none;
    font-size: 12px;
    white-space: nowrap;
}

/* Deprecated alias for backward compatibility */
.vxl-version-link { all: unset; }
.vxl-version-link { position: relative; color:#999999; font-weight:300; font-size:12px; white-space:nowrap; }

/* Vertikale Zentrierung der Lizenz-Tabelle */
.vxl-licenses-table td {
    vertical-align: middle;
}
