/* iq-license-cards.css */
.iq-licenses-header {
    margin-bottom: 20px;
}

.iq-licenses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.iq-license-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.iq-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.iq-card-title {
    margin: 0;
    font-size: 1.1em;
    color: #111827;
}

.iq-status-badge {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.8em;
    font-weight: 600;
}

/* Status Badge Colors */
.iq-status-activated { background: #dcfce7; color: #166534; }
.iq-status-deactivated, .iq-status-blocked { background: #fee2e2; color: #991b1b; }
.iq-status-pending { background: #fef3c7; color: #92400e; }
.iq-status-default { background: #f3f4f6; color: #374151; }

.iq-section-label {
    font-size: 0.85em;
    color: #6b7280;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.iq-key-container {
    background: #f9fafb;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

.iq-key-code {
    display: block;
    word-break: break-all;
    background: transparent;
    padding: 0;
    font-size: 0.9em;
    color: #374151;
}

.iq-licenses-grid button.iq-copy-btn {
    padding: 4px 12px;
    font-size: 0.85em;
    border-radius: 100px;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid white;
}

.iq-domains-wrapper {
    margin-bottom: 20px;
    flex-grow: 1;
}

.iq-domains-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.iq-domain-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f3f4f6;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.9em;
    color: #4b5563;
}

.iq-remove-domain-btn {
    color: #ef4444;
    font-weight: bold;
    text-decoration: none;
    padding-left: 10px;
}

.iq-card-footer {
    margin-top: auto;
}

.iq-view-sub-btn {
    text-align: center;
    border-radius: 8px;
    display: block;
}