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

.url-input {
    width: 100%;
    background: #141414;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: border-color 150ms ease;
}

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

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

.pro-features {
    position: relative;
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0;
}

.pro-features.locked {
    opacity: 0.7;
    pointer-events: none;
}

.pro-features.locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    pointer-events: none;
}

.pro-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    color: #0a0a0a;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.bulk-input {
    width: 100%;
    background: #141414;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 12px 16px;
    border-radius: 6px;
    font-family: 'Inter', monospace;
    font-size: 14px;
    resize: vertical;
    min-height: 120px;
}

.bulk-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.bulk-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pro-options {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
    font-size: 14px;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: #141414;
    border: 1px solid #374151;
    border-radius: 4px;
    position: relative;
    transition: all 150ms ease;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 60px;
}

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

.btn-secondary {
    background: #1a1a1a;
    border: 1px solid #374151;
    color: #e5e7eb;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.btn-pro {
    color: #0a0a0a;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 150ms ease;
}

.btn-pro:hover:not(:disabled) {
    opacity: 0.9;
}

.btn-pro:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.output-section {
    margin-top: 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

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

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

.loading-state {
    text-align: center;
    padding: 48px 24px;
    color: #9ca3af;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #374151;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #6b7280;
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
}

.results-container {
    background: #141414;
    border: 1px solid #374151;
    border-radius: 8px;
    overflow: hidden;
}

.result-item {
    border-bottom: 1px solid #374151;
    padding: 20px 24px;
}

.result-item:last-child {
    border-bottom: none;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.hop-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hop-number {
    background: #3b82f6;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.status-code {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    font-family: monospace;
}






.response-time {
    color: #9ca3af;
    font-size: 13px;
    font-family: monospace;
}

.url-info {
    margin: 8px 0;
}

.current-url {
    color: #e5e7eb;
    font-size: 14px;
    font-family: monospace;
    word-break: break-all;
    margin-bottom: 4px;
}

.redirect-to {
    color: #3b82f6;
    font-size: 13px;
    font-family: monospace;
    word-break: break-all;
}

.headers-toggle {
    background: none;
    border: 1px solid #374151;
    color: #9ca3af;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 150ms ease;
}

.headers-toggle:hover {
    color: #e5e7eb;
    border-color: #6b7280;
}

.headers-content {
    margin-top: 60px;
    background: #0a0a0a;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 12px;
    font-family: monospace;
    font-size: 12px;
    color: #d1d5db;
    max-height: 200px;
    overflow-y: auto;
}

.header-line {
    margin: 2px 0;
}

.header-name {
    color: #3b82f6;
}

.header-value {
    color: #e5e7eb;
}

.final-destination {
    background: #0f172a;
    border: 1px solid #3b82f6;
    padding: 20px 24px;
    margin-top: 60px;
    border-radius: 8px;
}

.final-destination h4 {
    color: #3b82f6;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.final-url {
    color: #e5e7eb;
    font-family: monospace;
    font-size: 14px;
    word-break: break-all;
}

.loop-alert {
    background: #7f1d1d;
    border: 1px solid #dc2626;
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.loop-alert::before {
    content: '⚠';
    font-size: 16px;
}

.error-state {
    text-align: center;
    padding: 48px 24px;
    background: #7f1d1d;
    border: 1px solid #dc2626;
    border-radius: 8px;
    color: #fca5a5;
}

.error-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.error-message {
    margin: 0;
    font-size: 15px;
}

.pro-cta-text {
    color: #d1d5db;
    font-size: 14px;
}

.btn-pro-cta {
    color: #0a0a0a;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 150ms ease;
}

.btn-pro-cta:hover {
    opacity: 0.9;
}

.bug-icon {
    font-size: 14px;
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .output-actions {
        justify-content: stretch;
    }
    
    .output-actions button {
        flex: 1;
    }
    
    .pro-cta-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .bug-report-btn {
        bottom: 100px;
        left: 20px;
        right: auto;
    }
    
    .pro-options {
        gap: 16px;
    }
}