/* FajaedeSEO AI Settings Admin Styles */

.fajaedeseo-ai-card {
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.fajaedeseo-ai-card h2 {
    margin-top: 0;
    padding-top: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.status-card {
    border-left: 4px solid #28a745;
}

.status-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 15px 0;
}

.status-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #0073aa;
}

.status-item .status-item-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #23282d;
    font-size: 12px;
    text-transform: uppercase;
}

.status-item code {
    display: block;
    font-size: 13px;
    background: white;
    padding: 8px;
    border-radius: 3px;
    border: 1px solid #ddd;
    word-break: break-all;
}

.status-item span {
    display: block;
    font-size: 13px;
    color: #555;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.healthy {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.unhealthy {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.fajaedeseo-ai-form .form-table {
    margin: 15px 0;
}

.fajaedeseo-ai-form .form-table input[type="url"],
.fajaedeseo-ai-form .form-table input[type="number"] {
    width: 100%;
    max-width: 400px;
}

.test-tools {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #0073aa;
}

.test-tools button {
    margin-right: 10px;
    margin-bottom: 10px;
}

.test-tools button:hover {
    text-decoration: none;
}

.test-result {
    background: #23282d;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
    max-height: 500px;
    overflow-y: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    color: #0f0;
}

.test-result pre {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #0f0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.wp-list-table {
    margin: 15px 0;
    width: 100%;
}

.wp-list-table thead tr {
    background: #f5f5f5;
    border-bottom: 2px solid #ccc;
}

.wp-list-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #e5e5e5;
}

.wp-list-table code {
    background: #f5f5f5;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 13px;
}

.notice {
    margin: 15px 0;
}

@media (max-width: 768px) {
    .status-info {
        grid-template-columns: 1fr;
    }
    
    .fajaedeseo-ai-form .form-table input[type="url"],
    .fajaedeseo-ai-form .form-table input[type="number"] {
        max-width: 100%;
    }
}
