/**
 * Стили WooCommerce — лицензии в личном кабинете и на странице заказа
 */

.pdn152-wc-license-key {
    margin-top: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #2271b1;
}

.pdn152-license-code {
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    word-break: break-all;
    background: #fff;
    padding: 2px 6px;
    border-radius: 3px;
}

.pdn152-licenses-table .pdn152-status-active {
    color: #00a32a;
    font-weight: 600;
}

.pdn152-licenses-table .pdn152-status-expired,
.pdn152-licenses-table .pdn152-status-revoked {
    color: #d63638;
    font-weight: 600;
}

.pdn152-licenses-table td,
.pdn152-licenses-table th {
    vertical-align: middle;
}

.pdn152-product-domain-field {
    margin-bottom: 1em;
}

.pdn152-product-domain-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.pdn152-product-domain-field input[type="text"] {
    width: 100%;
    max-width: 400px;
}

.pdn152-cart-domain-field {
    margin-top: 8px;
}

.pdn152-cart-domain-field label {
    display: block;
    font-size: 0.9em;
    margin-bottom: 4px;
}

.pdn152-cart-domain-input {
    width: 100%;
    max-width: 280px;
}

.pdn152-cart-domain-input.pdn152-domain-error {
    border-color: #d63638;
    box-shadow: 0 0 0 1px #d63638;
}

.pdn152-item-domain {
    margin-top: 4px;
    font-size: 0.9em;
    color: #50575e;
}

.pdn152-wc-products-table {
    margin-top: 12px;
    border-collapse: collapse;
}

.pdn152-wc-products-table th,
.pdn152-wc-products-table td {
    padding: 8px 12px;
    border: 1px solid #c3c4c7;
}
