/* Styles for the LLMS.txt Generator plugin administration interface */

.llms-container {
    max-width: 1200px;
    margin: 20px 0;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
}

.llms-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.llms-header h1 {
    margin: 0;
    font-size: 24px;
    color: #23282d;
}

.llms-content {
    padding: 20px;
}

.llms-section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fafafa;
}

.llms-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #23282d;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 5px;
}

.llms-form-group {
    margin-bottom: 20px;
}

.llms-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #23282d;
}

.llms-form-group input[type="text"],
.llms-form-group input[type="number"],
.llms-form-group textarea,
.llms-form-group select {
    width: 100%;
    max-width: 500px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.llms-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.llms-form-group .description {
    margin-top: 5px;
    font-style: italic;
    color: #666;
    font-size: 13px;
}

.llms-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.llms-checkbox-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Specific styles for AI options section */
.llms-ai-section {
    background: #f0f8ff;
    border-color: #0073aa;
}

.llms-ai-section h2 {
    color: #0073aa;
}

.llms-api-key-input {
    font-family: monospace;
    background: #f9f9f9;
}

.llms-language-select {
    max-width: 200px;
}

.llms-batch-size-input {
    max-width: 100px;
}

.llms-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.llms-actions .button {
    margin: 0 10px;
}

.llms-preview {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.llms-preview h2 {
    margin-top: 0;
    color: #23282d;
}

.llms-preview-content {
    background: #fff;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
}

.llms-success-message {
    padding: 10px 15px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin: 10px 0;
}

.llms-error-message {
    padding: 10px 15px;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 10px 0;
}

.llms-loading {
    opacity: 0.6;
    pointer-events: none;
}

.llms-hidden {
    display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .llms-container {
        margin: 10px;
    }
    
    .llms-content {
        padding: 15px;
    }
    
    .llms-section {
        padding: 15px;
    }
    
    .llms-checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .llms-actions .button {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
}