/* Tool-specific styles only - base styles are in tool-layout.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #0a0a0a;
    color: #e5e7eb;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #141414;
    border-bottom: 1px solid #374151;
    z-index: 100;
}

    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

    margin-top: 60px;
    padding: 48px 24px;
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    max-width: 720px;
    margin: 0 auto;
}

.tool-main {
    flex: 1;
    padding: 32px 24px 120px;
}

.tool-container {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.input-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group > label {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
}

.rule-group {
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rule-group-label {
    color: #3b82f6;
    font-weight: 600;
    font-size: 14px;
}

.remove-group-btn {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    transition: all 150ms ease;
}

.remove-group-btn:hover {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.user-agent-input {
    background-color: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 15px;
    color: #ffffff;
    width: 100%;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.user-agent-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.user-agent-input::placeholder {
    color: #6b7280;
}

.bot-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bot-preset-btn {
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #374151;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    font-weight: 500;
    transition: all 150ms ease;
}

.bot-preset-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.bot-preset-btn.active {
    background-color: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #3b82f6;
}

.paths-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.paths-section > label {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
}

.path-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.path-input {
    flex: 1;
    background-color: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 8px 12px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 14px;
    color: #ffffff;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.path-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.path-input::placeholder {
    color: #6b7280;
}

.path-remove-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    opacity: 0.6;
    transition: opacity 150ms ease;
    flex-shrink: 0;
}

.path-remove-btn:hover {
    opacity: 1;
}

.add-path-btn {
    background: transparent;
    border: 1px dashed #374151;
    border-radius: 6px;
    padding: 10px;
    color: #9ca3af;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-family: inherit;
    transition: all 150ms ease;
}

.add-path-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.crawl-delay-group {
    max-width: 240px;
}

.crawl-delay-input {
    background-color: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 15px;
    color: #ffffff;
    width: 100%;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    -moz-appearance: textfield;
}

.crawl-delay-input::-webkit-outer-spin-button,
.crawl-delay-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.crawl-delay-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.crawl-delay-input::placeholder {
    color: #6b7280;
}

.sitemaps-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sitemaps-section > label {
    font-size: 14px;
    font-weight: 500;
    color: #e5e7eb;
}

.sitemap-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.sitemap-url-display {
    flex: 1;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 14px;
    color: #e5e7eb;
    padding: 8px 12px;
    background-color: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sitemap-add-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sitemap-url-input {
    flex: 1;
    background-color: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 14px;
    color: #ffffff;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.sitemap-url-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.sitemap-url-input::placeholder {
    color: #6b7280;
}

.sitemap-remove-btn {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 8px;
    opacity: 0.6;
    transition: opacity 150ms ease;
    flex-shrink: 0;
}

.sitemap-remove-btn:hover {
    opacity: 1;
}

.pro-action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pro-action-btn {
    border: 1px solid #374151;
    background: transparent;
    color: #9ca3af;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    transition: all 150ms ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pro-action-btn:hover {
    border-color: #f59e0b;
    color: #f59e0b;
}

.pro-badge {
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.output-section {
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.output-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid #374151;
    padding-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    transition: all 150ms ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.tab-btn:hover {
    color: #e5e7eb;
}

.tab-btn.active {
    border-bottom-color: #3b82f6;
    color: #3b82f6;
}

.tab-pro .pro-badge {
    font-size: 10px;
    padding: 1px 5px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.preview-code {
    background-color: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 20px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-all;
    overflow-x: auto;
    color: #e5e7eb;
}

.syntax-directive {
    color: #3b82f6;
    font-weight: 600;
}

.syntax-value {
    color: #ffffff;
}

.syntax-comment {
    color: #6b7280;
    font-style: italic;
}

.validation-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    font-size: 14px;
}

.validation-error {
    background-color: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.validation-warning {
    background-color: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.validation-info {
    background-color: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.validation-icon {
    font-weight: 700;
    flex-shrink: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1;
    margin-top: 2px;
}

.validation-error .validation-icon {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.15);
}

.validation-warning .validation-icon {
    color: #f59e0b;
    background-color: rgba(245, 158, 11, 0.15);
}

.validation-info .validation-icon {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.15);
}

.validation-message {
    color: #e5e7eb;
    line-height: 1.5;
}

.validation-success {
    color: #10b981;
    padding: 16px;
    text-align: center;
    font-weight: 500;
    font-size: 15px;
}

.simulator-effective-rules {
    margin: 12px 0;
}

.effective-rules-list {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 14px;
    line-height: 1.7;
    color: #e5e7eb;
}

.effective-rules-list .rule-allow {
    color: #10b981;
}

.effective-rules-list .rule-disallow {
    color: #ef4444;
}

.simulator-test-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.simulator-test-row input {
    flex: 1;
    background-color: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 14px;
    color: #ffffff;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.simulator-test-row input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.simulator-test-row input::placeholder {
    color: #6b7280;
}

.simulator-result-allowed {
    color: #10b981;
    font-weight: 600;
    font-size: 15px;
    margin-top: 12px;
}

.simulator-result-blocked {
    color: #ef4444;
    font-weight: 600;
    font-size: 15px;
    margin-top: 12px;
}

.simulator-matched-rule {
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    color: #3b82f6;
    background-color: #1a1a1a;
    padding: 6px 10px;
    border-radius: 4px;
    margin-top: 8px;
    font-size: 13px;
    display: inline-block;
}

.simulator-reason {
    color: #9ca3af;
    font-size: 13px;
    margin-top: 4px;
}

#wildcards-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wildcard-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    margin-bottom: 4px;
    border-radius: 4px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 14px;
}

.wildcard-match {
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.06);
}

.wildcard-no-match {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.06);
}

.wildcard-status {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.wildcard-highlight {
    background-color: rgba(59, 130, 246, 0.25);
    border-radius: 2px;
}

#history-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.version-item {
    background-color: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 150ms ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.version-item:hover {
    border-color: #3b82f6;
}

.version-item.selected {
    border-color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
}

.version-timestamp {
    color: #9ca3af;
    font-size: 13px;
}

.version-actions {
    display: flex;
    gap: 8px;
}

.version-restore-btn {
    background: transparent;
    border: 1px solid #374151;
    color: #9ca3af;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
    transition: all 150ms ease;
}

.version-restore-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.diff-line-added {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 13px;
    padding: 2px 8px;
    line-height: 1.6;
}

.diff-line-removed {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 13px;
    padding: 2px 8px;
    line-height: 1.6;
}

.diff-line-unchanged {
    color: #6b7280;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    font-size: 13px;
    padding: 2px 8px;
    line-height: 1.6;
}

.template-card {
    background-color: #1a1a1a;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 150ms ease;
}

.template-card:hover {
    border-color: #3b82f6;
}

.template-name {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.template-desc {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.5;
}

.output-actions {
    display: flex;
    gap: 12px;
}

.button-primary {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    border: none;
    cursor: pointer;
    transition: background-color 150ms ease;
    text-align: center;
}

.button-secondary {
    background-color: #1a1a1a;
    color: #e5e7eb;
    border: 1px solid #374151;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 150ms ease;
    text-align: center;
    white-space: nowrap;
}

.text-input {
    background-color: #0a0a0a;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.text-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.text-input::placeholder {
    color: #6b7280;
}

.textarea-input {
    background-color: #0a0a0a;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'SF Mono', 'Fira Code', 'Fira Mono', Menlo, Consolas, monospace;
    outline: none;
    resize: vertical;
    line-height: 1.6;
    transition: border-color 150ms ease, box-shadow 150ms ease;
    width: 100%;
}

.textarea-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.textarea-input::placeholder {
    color: #6b7280;
}

.select-input {
    background-color: #0a0a0a;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ca3af' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.select-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.select-input option {
    background-color: #1a1a1a;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 24px;
}

.modal-overlay.modal-hidden {
    display: none;
}

.modal-overlay.modal-visible {
    display: flex;
}

.modal {
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 0;
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    padding: 24px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 150ms ease;
}

.modal-close:hover {
    color: #e5e7eb;
}

.modal-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.pro-modal-feature {
    color: #f59e0b;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.pro-features-list {
    margin-bottom: 24px;
}

.pro-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}

.feature-check {
    width: 20px;
    height: 20px;
    background-color: #059669;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.feature-text {
    font-size: 15px;
    color: #e5e7eb;
}

.modal-cta {
    width: 100%;
    display: block;
}

.copy-feedback {
    color: #10b981;
    font-size: 14px;
    font-weight: 500;
    animation: fadeInOut 1.5s ease forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

.limit-message {
    color: #f59e0b;
    font-size: 14px;
    text-align: center;
    padding: 12px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 6px;
    background-color: rgba(245, 158, 11, 0.06);
}

.modal-hidden {
    display: none;
}

.footer {
    background-color: #0a0a0a;
    border-top: 1px solid #374151;
    padding: 32px 24px;
    text-align: center;
    margin-top: auto;
}

.footer p {
    font-size: 14px;
    color: #6b7280;
}

.bug-report-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 300;
}

.bug-report-content {
    background-color: #141414;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 24px;
    max-width: 480px;
    width: 90%;
}

.bug-report-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.bug-report-content textarea {
    width: 100%;
    min-height: 120px;
    background-color: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 12px;
    color: #e5e7eb;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    resize: vertical;
    margin-bottom: 16px;
}

.bug-report-content textarea:focus {
    border-color: #3b82f6;
}

.bug-report-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.bug-report-actions button {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    transition: all 150ms ease;
}

#bug-cancel {
    background: transparent;
    border: 1px solid #374151;
    color: #9ca3af;
}

#bug-cancel:hover {
    border-color: #e5e7eb;
    color: #e5e7eb;
}

#bug-submit {
    background-color: #3b82f6;
    border: none;
    color: #ffffff;
}

#bug-submit:hover {
    background-color: #2563eb;
}

@media (max-width: 768px) {
        padding: 32px 16px;
    }

        font-size: 28px;
        line-height: 36px;
    }

        font-size: 14px;
    }

    .tool-main {
        padding: 24px 16px 100px;
    }

    .tool-container {
        gap: 32px;
    }

    .rule-group {
        padding: 16px;
    }

    .output-section {
        padding: 16px;
    }

    .output-tabs {
        gap: 2px;
    }

    .tab-btn {
        padding: 8px 10px;
        font-size: 13px;
    }

    .bot-presets {
        gap: 6px;
    }

    .bot-preset-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .output-actions {
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .pro-action-buttons {
        flex-direction: column;
    }

    .pro-action-btn {
        width: 100%;
        justify-content: center;
    }

        padding: 0 16px;
    }

    .sitemap-add-row {
        flex-direction: column;
    }

    .sitemap-add-row .button-secondary {
        width: 100%;
    }

    .simulator-test-row {
        flex-direction: column;
    }

    .simulator-test-row .button-secondary {
        width: 100%;
    }

    .modal {
        max-width: 100%;
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
        font-size: 24px;
        line-height: 32px;
    }

    .preview-code {
        font-size: 12px;
        padding: 14px;
    }

    .path-row {
        gap: 4px;
    }

    .path-input {
        font-size: 13px;
        padding: 7px 10px;
    }
}