/* Generator Robots.txt Pro - seotoolpro.ro
 * Prefix: rbt- (robots txt)
 * Tema: alb/teal/navy - consistent cu tema seotoolpro.ro
 */

/* ===== WRAPPER ===== */
.rbt-wrap {
    background: #fff;
    border-radius: 10px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

/* ===== SECTIUNE ===== */
.rbt-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}
.rbt-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rbt-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.rbt-section-icon { font-size: 18px; }
.rbt-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}
.rbt-header-actions {
    display: flex;
    gap: 8px;
}

/* ===== INPUT URL ===== */
.rbt-input-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rbt-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.rbt-input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20,184,166,0.12);
}

.rbt-input-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
    line-height: 1.5;
}

/* ===== BUTOANE ===== */
.rbt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.15s;
    font-family: inherit;
    white-space: nowrap;
}
.rbt-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.rbt-btn:active { transform: translateY(0); }

.rbt-btn-primary {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: #fff;
}

.rbt-btn-sm {
    padding: 7px 14px;
    font-size: 12px;
    background: #f0fdfa;
    color: #0f766e;
    border: 1.5px solid #5eead4;
}
.rbt-btn-sm:hover { background: #ccfbf1; opacity: 1; }

.rbt-btn-dl {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe;
}
.rbt-btn-dl:hover { background: #dbeafe; opacity: 1; }

.rbt-btn-reset {
    background: #f9fafb;
    color: #6b7280;
    border: 1.5px solid #e5e7eb;
    padding: 10px 20px;
    font-size: 13px;
}
.rbt-btn-icon { font-size: 16px; }

/* ===== LOADING ===== */
.rbt-loading {
    text-align: center;
    padding: 40px 20px;
}
.rbt-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: #14b8a6;
    border-radius: 50%;
    animation: rbtSpin 0.7s linear infinite;
    margin: 0 auto 14px;
}
@keyframes rbtSpin { to { transform: rotate(360deg); } }
.rbt-loading-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* ===== STATUS ROBOTS.TXT EXISTENT ===== */
.rbt-status-card {
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.rbt-status-found {
    background: #fffbeb;
    border: 1.5px solid #fde68a;
}
.rbt-status-notfound {
    background: #f0fdfa;
    border: 1.5px solid #5eead4;
}
.rbt-status-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.rbt-status-title {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}
.rbt-status-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

/* Robots.txt existent preview */
.rbt-existing-preview {
    margin-top: 12px;
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px 14px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: #374151;
    max-height: 160px;
    overflow-y: auto;
    white-space: pre;
    line-height: 1.6;
}

/* ===== SETTINGS ===== */
.rbt-settings-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 16px;
}

.rbt-setting-group {}
.rbt-setting-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 10px;
}

/* Toggles */
.rbt-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.rbt-toggle-item {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 7px;
    padding: 7px 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
}
.rbt-toggle-item:hover {
    border-color: #14b8a6;
    background: #f0fdfa;
}
.rbt-toggle-item input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #14b8a6;
    cursor: pointer;
    flex-shrink: 0;
}
.rbt-toggle-label {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

/* Crawl delay */
.rbt-delay-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 6px;
}
.rbt-delay-row input[type="range"] {
    flex: 1;
    accent-color: #14b8a6;
    height: 4px;
}
.rbt-delay-val {
    font-size: 13px;
    font-weight: 700;
    color: #14b8a6;
    min-width: 100px;
    white-space: nowrap;
}

/* Custom disallow */
.rbt-custom-block { margin-top: 4px; }
.rbt-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Courier New', monospace;
    color: #374151;
    outline: none;
    resize: vertical;
    transition: border-color 0.2s;
    box-sizing: border-box;
    margin-top: 8px;
}
.rbt-textarea:focus { border-color: #14b8a6; }

/* ===== OUTPUT ===== */
.rbt-output-wrap {
    background: #fafbfc;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}
.rbt-output {
    margin: 0;
    padding: 18px 20px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    color: #24292f;
    white-space: pre;
    overflow-x: auto;
    max-height: 420px;
    overflow-y: auto;
}

/* Syntax highlight in output */
.rbt-output .rbt-comment { color: #6e7781; }
.rbt-output .rbt-key     { color: #0550ae; font-weight: 600; }
.rbt-output .rbt-val-allow  { color: #116329; }
.rbt-output .rbt-val-disallow { color: #cf222e; }
.rbt-output .rbt-val-sitemap  { color: #0550ae; }

.rbt-copy-confirm {
    text-align: center;
    padding: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0f766e;
    margin-top: 8px;
}

/* ===== TIPS SEO ===== */
.rbt-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
}
.rbt-tip:last-child { margin-bottom: 0; }
.rbt-tip-warn {
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    color: #78350f;
}
.rbt-tip-ok {
    background: #f0fdfa;
    border-left: 3px solid #14b8a6;
    color: #134e4a;
}
.rbt-tip-info {
    background: #eff6ff;
    border-left: 3px solid #3b82f6;
    color: #1e3a5f;
}
.rbt-tip-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.rbt-tip-text strong { display: block; font-weight: 700; margin-bottom: 2px; }

/* ===== ACTIONS ===== */
.rbt-actions {
    text-align: center;
    padding-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 560px) {
    .rbt-wrap { padding: 18px 14px; }
    .rbt-input-row { flex-direction: column; }
    .rbt-btn { width: 100%; justify-content: center; }
    .rbt-header-actions { width: 100%; }
    .rbt-toggles { flex-direction: column; }
    .rbt-toggle-item { width: 100%; }
}

/* Platform badge */
.rbt-platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0fdfa;
    border: 1.5px solid #14b8a6;
    color: #0f766e;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}
