/* license-keys.css - License Keys page specific styles */

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #e0e5f0;
    margin-bottom: 25px;
}

.tab {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Bulk Actions */
.bulk-actions {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.bulk-select {
    display: flex;
    align-items: center;
    gap: 10px;
}

.select-all {
    margin-right: 10px;
}

/* Import Section */
.import-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.import-box {
    border: 2px dashed #ddd;
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    margin-top: 20px;
}

.import-box:hover {
    border-color: var(--primary-color);
    background-color: rgba(67, 97, 238, 0.02);
}

.import-box.dragover {
    border-color: var(--success-color);
    background-color: rgba(76, 201, 240, 0.05);
}

.import-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.import-format {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    text-align: left;
}

.import-format h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.import-format pre {
    background-color: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e0e5f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--secondary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--danger-color);
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e0e5f0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

/* Responsive for License Keys */
@media (max-width: 768px) {
    .tabs {
        flex-wrap: wrap;
    }
    
    .bulk-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}