/* Generator llms.txt v2 - seotoolpro.ro
 * Tema: Light + accente Teal Mint, output light cod-friendly
 */

.llm-generator { margin-bottom: 24px; }

/* ===== SECTIUNI ===== */
.llm-section {
    background: #fff;
    border-radius: 10px;
    padding: 22px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    margin-bottom: 16px;
    border: 1px solid #f0f0f0;
}
.llm-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
}
.llm-section-icon { font-size: 20px; line-height: 1; }
.llm-section-header h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f1e35;
    margin: 0;
    flex: 1;
}
.llm-section-hint { font-size: 12px; color: #9ca3af; font-style: italic; }

/* ===== CAMPURI ===== */
.llm-field { margin-bottom: 14px; }
.llm-field:last-child { margin-bottom: 0; }
.llm-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.llm-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.llm-req { color: #14b8a6; }
.llm-field input[type="text"],
.llm-field textarea,
.llm-field select {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13.5px;
    color: #111827;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
}
.llm-field input[type="text"]:focus,
.llm-field textarea:focus,
.llm-field select:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20,184,166,0.12);
}
.llm-field input[type="text"].llm-invalid {
    border-color: #ef4444;
    background: #fef2f2;
}
.llm-field-hint {
    font-size: 11.5px;
    color: #6b7280;
    margin-top: 4px;
    display: block;
}
.llm-field textarea { resize: vertical; }

/* ===== TIP SITE GRID ===== */
.llm-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.llm-type-btn {
    padding: 9px 6px;
    border: 1.5px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}
.llm-type-btn.active,
.llm-type-btn:hover {
    border-color: #14b8a6;
    background: #f0fdfa;
    color: #0f766e;
}

/* ===== PAGINI ===== */
.llm-pages-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}
.llm-page-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    gap: 8px;
    align-items: center;
    background: #f9fafb;
    border-radius: 8px;
    padding: 8px 10px;
    border: 1px solid #e5e7eb;
    animation: llmFadeIn 0.2s ease;
}
@keyframes llmFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.llm-page-row input {
    padding: 7px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    color: #111827;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.llm-page-row input:focus { border-color: #14b8a6; }
.llm-page-remove {
    background: #fee2e2;
    border: none;
    color: #dc2626;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.llm-page-remove:hover { background: #fca5a5; color: #fff; }
.llm-add-page-btn {
    width: 100%;
    padding: 9px;
    background: transparent;
    border: 1.5px dashed #5eead4;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0f766e;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 8px;
}
.llm-add-page-btn:hover { background: #f0fdfa; border-color: #14b8a6; }

/* ===== Sugestii pagini ===== */
.llm-suggested {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
.llm-suggested-label {
    font-size: 11.5px;
    color: #6b7280;
    width: 100%;
    margin-bottom: 4px;
    font-weight: 600;
}
.llm-suggest-btn {
    background: #ccfbf1;
    border: 1px solid #5eead4;
    color: #115e59;
    padding: 5px 11px;
    border-radius: 16px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}
.llm-suggest-btn:hover {
    background: #14b8a6;
    color: #fff;
    border-color: #14b8a6;
}

/* ===== PRESETE PERMISIUNI ===== */
.llm-presets-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.llm-preset-btn {
    padding: 10px 6px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    line-height: 1.3;
}
.llm-preset-btn small {
    display: block;
    font-size: 10.5px;
    font-weight: 500;
    color: #9ca3af;
    margin-top: 3px;
}
.llm-preset-btn:hover {
    transform: translateY(-1px);
    border-color: #14b8a6;
    box-shadow: 0 4px 8px rgba(20,184,166,0.15);
}
.llm-preset-open    { background: #f0fdf4; border-color: #86efac; color: #14532d; }
.llm-preset-balanced{ background: #f0fdfa; border-color: #5eead4; color: #115e59; }
.llm-preset-strict  { background: #fef2f2; border-color: #fca5a5; color: #7f1d1d; }
.llm-preset-press   { background: #fffbeb; border-color: #fcd34d; color: #78350f; }

/* ===== PERMISIUNI ===== */
.llm-perms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.llm-perm-item {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
}
.llm-perm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.llm-perm-label { font-size: 13px; font-weight: 600; color: #374151; }
.llm-perm-toggle-group { display: flex; gap: 4px; }
.llm-perm-btn {
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    color: #6b7280;
}
.llm-perm-btn.llm-allow.active {
    background: #ccfbf1;
    border-color: #14b8a6;
    color: #115e59;
}
.llm-perm-btn.llm-deny.active {
    background: #fee2e2;
    border-color: #ef4444;
    color: #7f1d1d;
}
.llm-perm-btn:hover:not(.active) { background: #f3f4f6; }

/* ===== AI BOTS ===== */
.llm-bots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.llm-bot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    gap: 10px;
}
.llm-bot-name {
    font-size: 12.5px;
    font-weight: 600;
    color: #374151;
    flex: 1;
    line-height: 1.2;
}
.llm-bot-name small {
    display: block;
    font-size: 10.5px;
    color: #9ca3af;
    font-weight: 500;
    margin-top: 1px;
}
.llm-bot-toggle {
    position: relative;
    width: 38px;
    height: 22px;
    background: #d1d5db;
    border-radius: 22px;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.llm-bot-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
.llm-bot-toggle.allow {
    background: #14b8a6;
}
.llm-bot-toggle.allow::before {
    transform: translateX(16px);
}

/* ===== OUTPUT - LIGHT MODE (cod-friendly, fara contrast brusc) ===== */
.llm-output-section {
    background: #fafbfc;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}
.llm-output-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    gap: 10px;
    flex-wrap: wrap;
}
.llm-output-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.llm-file-badge {
    background: #ccfbf1;
    color: #115e59;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    border: 1px solid #5eead4;
}
.llm-status-badge {
    font-size: 12px;
    color: #9ca3af;
    font-style: italic;
}
.llm-status-badge.llm-ready {
    color: #0d9488;
    font-style: normal;
    font-weight: 600;
}
.llm-size-badge {
    font-size: 11.5px;
    color: #92400e;
    font-weight: 600;
    background: #fef3c7;
    padding: 3px 9px;
    border-radius: 5px;
    letter-spacing: 0.3px;
    border: 1px solid #fcd34d;
}
.llm-output-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.llm-btn-copy,
.llm-btn-download,
.llm-btn-robots {
    padding: 7px 16px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.llm-btn-copy {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}
.llm-btn-copy:hover { background: #e5e7eb; }
.llm-btn-copy.copied { background: #14b8a6; color: #fff; border-color: #14b8a6; }
.llm-btn-robots {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.llm-btn-robots:hover { background: #dbeafe; }
.llm-btn-download {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: #fff;
}
.llm-btn-download:hover {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(20,184,166,0.35);
}

/* OUTPUT TEXT - light, lizibil, GitHub-style */
.llm-output-pre {
    margin: 0;
    padding: 22px;
    font-family: 'JetBrains Mono', Menlo, Consolas, 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
    color: #24292f;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 180px;
    max-height: 520px;
    overflow-y: auto;
    background: #fafbfc;
}
.llm-placeholder {
    color: #8b949e;
    font-style: italic;
}
/* SYNTAX HIGHLIGHT - paleta light, lizibila pe alb */
.llm-comment        { color: #6e7781; font-style: italic; }       /* gri */
.llm-section-marker { color: #cf222e; font-weight: 800; }         /* rosu inchis pt ## */
.llm-key            { color: #0550ae; font-weight: 700; }         /* albastru inchis pt key: */
.llm-value          { color: #953800; font-weight: 600; }         /* portocaliu inchis lizibil pe alb */
.llm-url            { color: #0d9488; font-weight: 600; }         /* teal pt link-uri (asortat cu tema) */
.llm-bullet         { color: #14b8a6; font-weight: 700; }         /* teal pt - liste */

/* Tabs output (llms.txt vs robots.txt) */
.llm-output-tabs {
    display: flex;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.llm-output-tab {
    padding: 9px 18px;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}
.llm-output-tab:hover { color: #0f1e35; background: #f9fafb; }
.llm-output-tab.active {
    color: #0f766e;
    border-bottom-color: #14b8a6;
    background: #f0fdfa;
}

/* ===== INFO BOX ===== */
.llm-info-box {
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border: 1px solid #5eead4;
    border-radius: 10px;
    padding: 20px 22px;
}
.llm-info-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: #134e4a;
    margin-bottom: 10px;
}
.llm-info-box p {
    font-size: 13.5px;
    color: #115e59;
    margin-bottom: 14px;
    line-height: 1.6;
}
.llm-info-box code {
    background: rgba(20,184,166,0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
    color: #0f766e;
}
.llm-info-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.llm-info-step {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #134e4a;
    background: rgba(255,255,255,0.65);
    border-radius: 7px;
    padding: 10px 12px;
}
.llm-info-step span {
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .llm-section { padding: 16px; }
    .llm-field-group { grid-template-columns: 1fr; }
    .llm-type-grid { grid-template-columns: repeat(2, 1fr); }
    .llm-perms-grid { grid-template-columns: 1fr; }
    .llm-bots-grid { grid-template-columns: 1fr; }
    .llm-presets-row { grid-template-columns: repeat(2, 1fr); }
    .llm-page-row { grid-template-columns: 1fr auto; }
    .llm-page-row input:first-child { grid-column: 1 / -1; }
    .llm-info-steps { grid-template-columns: 1fr; }
    .llm-output-header { flex-direction: column; align-items: flex-start; }
    .llm-output-pre { font-size: 13px; padding: 16px; }
}
@media (max-width: 480px) {
    .llm-perm-header { flex-direction: column; align-items: flex-start; gap: 6px; }
    .llm-presets-row { grid-template-columns: 1fr; }
}