.cs-robots-container {

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333;
}
.cs-robots-container h3 {
    color: #0073aa;
    margin-top: 0;
    margin-bottom: 8px;
}
.cs-robots-container > p {
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Табы */
.cs-robots-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.cs-robots-tab-btn {
    background: #f0f0f1;
    border: 1px solid #ccc;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    color: #444;
}
.cs-robots-tab-btn.active {
    background: #fff;
    border-color: #0073aa;
    color: #0073aa;
    box-shadow: 0 1px 3px rgba(0,115,170,0.15);
}

/* Поля */
.cs-robots-field {
    margin-bottom: 14px;
}
.cs-robots-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}
.cs-robots-field input,
.cs-robots-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.cs-robots-field input:focus,
.cs-robots-field textarea:focus {
    outline: none;
    border-color: #0073aa;
}

/* Кнопки */
.cs-robots-btn {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.cs-robots-btn:hover:not(:disabled) { background: #005a87; }
.cs-robots-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.cs-robots-btn.small {
    background: #eee;
    color: #333;
    padding: 8px 14px;
    font-size: 13px;
}
.cs-robots-btn.small:hover { background: #ddd; }

/* Пресеты */
.cs-robots-preset {
    background: #f9f9f9;
    border: 1px solid #ddd;
    color: #0073aa;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    margin-right: 6px;
    margin-bottom: 4px;
}
.cs-robots-preset:hover { background: #f0f0f0; }

/* Режимы */
.cs-robots-mode { display: none; }
.cs-robots-mode.active { display: block; }

/* Результат */
.cs-robots-loading {
    background: #f5f5f5;
    color: #666;
    padding: 12px 16px;
    border-radius: 4px;
    text-align: center;
}
.cs-robots-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 4px;
    border-left: 4px solid #dc3545;
}

.cs-robots-section { margin-bottom: 20px; }
.cs-robots-section h4 { margin: 0 0 10px; font-size: 15px; color: #333; }
.cs-robots-section ul { margin: 0; padding-left: 20px; }
.cs-robots-section li { font-size: 14px; line-height: 1.6; margin-bottom: 6px; }

.cs-robots-section.info li { color: #0c5460; }
.cs-robots-section.warning li { color: #856404; }
.cs-robots-section.error li { color: #721c24; }

/* Код */
.cs-robots-code {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 16px;
    border-radius: 6px;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-all;
    border: 1px solid #444;
    overflow-x: auto;
}

/* Адаптив */
@media (max-width: 600px) {
    .cs-robots-tabs { flex-direction: column; }
    .cs-robots-tab-btn { width: 100%; justify-content: center; }
}
