
/* Webixmo AI API Keys Manager Styles */
.webixmo-container {
    max-width: 800px;
    margin: 20px 0;
    padding: 20px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(200, 215, 225, 0.5), 0 1px 2px #e9eff3;
}

.webixmo-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.webixmo-header h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.webixmo-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.webixmo-create-section {
    margin-bottom: 30px;
    text-align: center;
}



.webixmo-btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    min-height: 32px;
}

.webixmo-btn-danger:hover {
    background: linear-gradient(135deg, #ff5252 0%, #e55100 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.webixmo-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.webixmo-spinner {
    animation: spin 1s linear infinite;
    font-size: 16px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.webixmo-messages {
    margin: 20px 0;
}

.webixmo-notice {
    padding: 12px 16px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 14px;
    font-weight: 500;
}

.webixmo-notice-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.webixmo-notice-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.webixmo-keys-section h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.webixmo-key-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    margin: 10px 0;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.webixmo-key-item:hover {
    background: #f1f3f4;
    border-color: #dee2e6;
}

.webixmo-key-info {
    flex: 1;
    min-width: 0;
}

.webixmo-key-value {
    font-family: "Courier New", monospace;
    font-size: 13px;
    color: #333;
    background: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    word-break: break-all;
    user-select: all;
}

.webixmo-key-date {
    font-size: 12px;
    color: #666;
}

.webixmo-key-actions {
    margin-left: 16px;
}

.webixmo-loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.webixmo-empty {
    text-align: center;
    padding: 40px;
    color: #666;
    background: #f8f9fa;
    border-radius: 6px;
    border: 2px dashed #dee2e6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .webixmo-container {
        margin: 10px;
        padding: 16px;
        border-radius: 6px;
    }
    
    .webixmo-header h3 {
        font-size: 20px;
    }
    
    .webixmo-key-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .webixmo-key-actions {
        margin-left: 0;
        text-align: center;
    }
    
    .webixmo-key-value {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .webixmo-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .webixmo-container {
        margin: 5px;
        padding: 12px;
    }
    
    .webixmo-key-value {
        font-size: 11px;
        word-break: break-all;
        overflow-wrap: break-word;
    }
}
