.setn-lm {
    --setn-border: #d9e0e7;
    --setn-ink: #17304d;
    --setn-muted: #667486;
    --setn-soft: #f7f9fb;
}

.setn-lm-intro {
    margin-bottom: 28px;
    color: var(--setn-muted);
}

.setn-lm-card {
    margin: 0 0 28px;
    padding: 24px;
    border: 1px solid var(--setn-border);
    border-radius: 10px;
    background: #fff;
}

.setn-lm-card-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.setn-lm-card h3 {
    margin: 0 0 6px;
}

.setn-lm-card-head p,
.setn-lm-available {
    margin: 0;
    color: var(--setn-muted);
}

.setn-lm-seat {
    min-width: 110px;
    text-align: right;
}

.setn-lm-seat strong,
.setn-lm-seat span {
    display: block;
}

.setn-lm-seat strong {
    font-size: 1.15em;
    color: var(--setn-ink);
}

.setn-lm-table-wrap {
    margin-top: 18px;
    overflow-x: auto;
}

.setn-lm-table {
    margin-bottom: 0 !important;
}

.setn-lm-table td,
.setn-lm-table th {
    vertical-align: middle;
}

.woocommerce .setn-lm a.button.setn-lm-manage,
.setn-lm a.button.setn-lm-manage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 10px 16px;
    border: 1px solid #17304d;
    border-radius: 6px;
    background: #17304d;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: opacity .15s ease, transform .15s ease;
}

.woocommerce .setn-lm a.button.setn-lm-manage:hover,
.woocommerce .setn-lm a.button.setn-lm-manage:focus,
.setn-lm a.button.setn-lm-manage:hover,
.setn-lm a.button.setn-lm-manage:focus {
    background: #17304d;
    color: #fff;
    opacity: .88;
    transform: translateY(-1px);
}

.setn-lm-privacy {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 6px;
    background: var(--setn-soft);
    color: var(--setn-muted);
    font-size: .92em;
}

.setn-lm-muted {
    color: var(--setn-muted);
}

@media (max-width: 767px) {
    .setn-lm-card {
        padding: 18px;
    }
    .setn-lm-card-head {
        display: block;
    }
    .setn-lm-seat {
        margin-top: 10px;
        text-align: left;
    }
}


/*
 * Kestrel API Manager compatibility layer.
 * Keep Kestrel responsible for license actions; SETN License Manager only
 * improves presentation on WooCommerce My Account.
 */
.woocommerce-account .woocommerce-MyAccount-content table td a.button,
.woocommerce-account .woocommerce-MyAccount-content table td button.button,
.woocommerce-account .woocommerce-MyAccount-content table td input.button {
    margin-right: 18px;
}

.woocommerce-account .woocommerce-MyAccount-content table tr td:first-child .button {
    margin-left: 0;
}

.woocommerce-account .woocommerce-MyAccount-content table td {
    vertical-align: middle;
}

.woocommerce-account .woocommerce-MyAccount-content table tr > td {
    padding-top: 12px;
    padding-bottom: 12px;
}
