/* ==================== KEYWORD RESEARCH PRO - COMPLETE STYLES ==================== */

:root {
    --bg-color: #f8f9fa;
    --text-color: #212529;
    --header-bg: #ffffff;
    --footer-bg: #ffffff;
    --card-bg: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #e9ecef;
    --header-bg: #2d2d2d;
    --footer-bg: #2d2d2d;
    --card-bg: #2d2d2d;
    --border-color: #404040;
    --shadow: 0 2px 10px rgba(0,0,0,0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
    padding-top: 80px;
    line-height: 1.6;
}

/* ==================== HEADER ==================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 8px 40px 8px 15px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    background: var(--bg-color);
    color: var(--text-color);
    width: 250px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.theme-toggle {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    transition: all 0.3s;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* ==================== MAIN LAYOUT ==================== */
.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.content-area {
    min-height: 100vh;
}

/* ==================== HERO SECTION ==================== */
.tool-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.tool-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.tool-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ==================== CARDS ==================== */
.tool-main-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.banner-ad {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

/* ==================== TABS ==================== */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
}

.tab {
    padding: 12px 20px;
    background: var(--bg-color);
    border: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.tab:hover {
    background: var(--border-color);
}

.tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== FORM CONTROLS ==================== */
.input-group-custom {
    margin: 20px 0;
}

.input-group-custom label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-color);
}

.input-group-custom input,
.input-group-custom select,
.input-group-custom textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.3s;
}

.input-group-custom input:focus,
.input-group-custom select:focus,
.input-group-custom textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-group-custom textarea {
    resize: vertical;
}

/* ==================== BUTTONS ==================== */
.btn-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-custom:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    color: white;
}

.btn-custom:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

/* ==================== SOURCE SELECTION ==================== */
.source-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.source-card {
    background: var(--bg-color);
    border: 3px solid var(--border-color);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.source-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.source-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.source-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.source-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.source-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-color);
}

/* ==================== CONTROLS GRID ==================== */
.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.control-item {
    background: var(--bg-color);
    padding: 15px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.control-item label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9em;
}

.control-item select,
.control-item input {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95em;
    background: var(--card-bg);
    color: var(--text-color);
    transition: all 0.3s;
}

.control-item select:focus,
.control-item input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* ==================== LOADING ==================== */
.loading {
    display: none;
    text-align: center;
    padding: 30px;
}

.loading.active {
    display: block;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== MESSAGES ==================== */
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: none;
    align-items: center;
    gap: 10px;
    border-left: 4px solid #28a745;
}

[data-theme="dark"] .alert-success {
    background: #1a3a28;
    color: #90ee90;
}

.alert-success.show {
    display: flex;
}

.error-message {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    display: none;
    color: #721c24;
}

[data-theme="dark"] .error-message {
    background: #3a1a1d;
    color: #f5c6cb;
}

.error-message.show {
    display: block;
}

.info-box {
    background: #d1ecf1;
    border-left: 4px solid #0c5460;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    color: #0c5460;
}

[data-theme="dark"] .info-box {
    background: #1a3a3f;
    border-left-color: #17a2b8;
    color: #b8daff;
}

/* ==================== RESULTS ==================== */
.results-container {
    margin-top: 30px;
    display: none;
}

.results-container.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ==================== STATS BOX ==================== */
.stats-box {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 10px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

/* ==================== CHARTS ==================== */
.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.chart-container {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.chart-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
}

/* ==================== FILTERS ==================== */
.filter-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 20px;
    background: var(--bg-color);
    border-radius: 15px;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* ==================== KEYWORD LIST ==================== */
.keyword-list {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 20px;
    max-height: 800px;
    overflow-y: auto;
}

.keyword-item {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.keyword-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.keyword-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.keyword-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

/* ==================== BADGES ==================== */
.keyword-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-intent-informational { background: #e3f2fd; color: #1976d2; }
.badge-intent-commercial { background: #fff3e0; color: #f57c00; }
.badge-intent-transactional { background: #e8f5e9; color: #388e3c; }
.badge-intent-navigational { background: #f3e5f5; color: #7b1fa2; }

.badge-difficulty-easy { background: #e8f5e9; color: #2e7d32; }
.badge-difficulty-medium { background: #fff3e0; color: #f57c00; }
.badge-difficulty-hard { background: #ffebee; color: #c62828; }

.badge-golden { 
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%); 
    color: #000; 
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-volume { background: #e8eaf6; color: #3f51b5; }
.badge-cpc { background: #e0f2f1; color: #00695c; }

/* ==================== METRICS ==================== */
.keyword-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.metric-item {
    text-align: center;
    padding: 10px;
    background: var(--bg-color);
    border-radius: 8px;
}

.metric-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.difficulty-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 5px;
}

.difficulty-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.difficulty-easy { background: linear-gradient(90deg, #4caf50, #8bc34a); }
.difficulty-medium { background: linear-gradient(90deg, #ff9800, #ffc107); }
.difficulty-hard { background: linear-gradient(90deg, #f44336, #e91e63); }

/* ==================== KEYWORD ACTIONS ==================== */
.keyword-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.keyword-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
    font-weight: 500;
}

.keyword-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.keyword-btn.btn-secondary { background: #6c757d; }
.keyword-btn.btn-success { background: #28a745; }
.keyword-btn.btn-info { background: #17a2b8; }

/* ==================== CONTENT IDEAS ==================== */
.content-ideas {
    margin-top: 12px;
    padding: 12px;
    background: var(--bg-color);
    border-radius: 8px;
    border-left: 4px solid var(--info-color);
}

.content-ideas-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--info-color);
    margin-bottom: 8px;
}

.content-idea {
    font-size: 0.85rem;
    color: var(--text-color);
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
}

.content-idea:last-child {
    border-bottom: none;
}

/* ==================== COLLECTIONS ==================== */
.collections-panel {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.collection-item {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.collection-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.collection-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
}

.collection-count {
    font-size: 0.85rem;
    color: #6c757d;
}

/* ==================== MODAL ==================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--danger-color);
}

/* ==================== SHARE BUTTONS ==================== */
.share-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.share-twitter { background: #1DA1F2; }
.share-facebook { background: #4267B2; }
.share-linkedin { background: #0077b5; }
.share-whatsapp { background: #25D366; }

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.ad-box {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 100px 20px;
    border-radius: 15px;
    text-align: center;
    color: white;
    font-weight: 600;
}

.related-tool {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: var(--bg-color);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
}

.related-tool:hover {
    transform: translateX(5px);
    color: var(--text-color);
    background: var(--border-color);
}

.related-tool i {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--footer-bg);
    padding: 60px 20px 20px;
    margin-top: 60px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: #6c757d;
    font-size: 0.9rem;
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .main-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        background: var(--header-bg);
        flex-direction: column;
        padding: 30px;
        transition: left 0.3s;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .tool-hero h1 {
        font-size: 2em;
    }
    
    .source-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    }
    
    .stats-box {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .search-box {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .tool-hero h1 {
        font-size: 1.5em;
    }
    
    .tool-hero p {
        font-size: 0.95rem;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
}

/* ==================== ACCESSIBILITY ==================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    header, .sidebar, footer, .scroll-top, .banner-ad, .action-buttons, .share-buttons {
        display: none !important;
    }
    
    .main-wrapper {
        grid-template-columns: 1fr;
    }
    
    .tool-main-card {
        box-shadow: none;
    }
}