/* WooCommerce Key Manager - Customer Portal Styles */

.wckm-customer-licenses {
    margin: 20px 0;
}

.wckm-customer-licenses h2 {
    margin-bottom: 20px;
}

.wckm-license-key {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wckm-key-code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    background: #f4f4f4;
    padding: 6px 10px;
    border-radius: 3px;
    border: 1px solid #ddd;
    display: inline-block;
}

.wckm-copy-key {
    font-size: 12px;
    padding: 4px 12px;
    height: auto;
    line-height: 1.4;
}

.wckm-status-badge {
    display: inline-block;
    padding: 4px 10px;
    color: white;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.wckm-status-available {
    background: #00a32a;
}

.wckm-status-assigned {
    background: #dba617;
}

.wckm-status-activated {
    background: #2271b1;
}

.wckm-status-expired {
    background: #8c8f94;
}

.wckm-status-revoked {
    background: #d63638;
}

.wckm-expired {
    color: #d63638;
    font-weight: 600;
}

.wckm-view-activations {
    font-size: 12px;
    margin-left: 5px;
}

.wckm-activations-details {
    background: #f8f8f8;
}

.wckm-activations-list {
    padding: 20px;
}

.wckm-activations-list h4 {
    margin-top: 0;
    margin-bottom: 15px;
}

.wckm-devices-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.wckm-devices-table th,
.wckm-devices-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.wckm-devices-table th {
    background: #f0f0f1;
    font-weight: 600;
}

.wckm-devices-table code {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
}

.wckm-help-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 4px;
    border-left: 4px solid #2271b1;
}

.wckm-help-section h3 {
    margin-top: 0;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .wckm-license-key {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wckm-key-code {
        word-break: break-all;
    }
}
