/* Desktop-Specific Layout Enhancements */
/* Only applies to screens larger than 768px (desktop/tablet landscape) */

/* Dynamic desktop layout visibility based on screen size */
@media (min-width: 769px) {
    .desktop-enhanced-layout.d-none.d-md-grid {
        display: grid !important;
    }
    
    .desktop-input-sidebar {
        display: block !important;
    }
    
    .desktop-results-main {
        display: block !important;
    }
}

/* Responsive desktop layout for different screen sizes */

/* Small tablets and landscape phones (769px - 1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
    .desktop-enhanced-layout {
        display: grid !important;
        grid-template-columns: 200px 1fr;
        grid-gap: 1rem;
        align-items: start;
    }
    
    .desktop-input-sidebar,
    .desktop-results-main,
    .desktop-info-sidebar {
        position: static;
        margin-bottom: 0;
    }
    
    /* Compact sidebar for smaller screens */
    .desktop-input-sidebar {
        background: var(--tuning-bg-panel);
        border-radius: 8px;
        padding: 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        border: 1px solid var(--tuning-border);
        height: auto;
        min-height: 300px;
    }
    
    /* Compact sidebar navigation for smaller screens */
    .sidebar-nav {
        display: block;
    }
    
    .sidebar-title {
        color: var(--tuning-accent);
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .sidebar-nav-item {
        display: block;
        padding: 0.5rem 0.75rem;
        color: #ffffff;
        text-decoration: none;
        border-radius: 4px;
        margin-bottom: 0.25rem;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }
    
    .sidebar-nav-item:hover {
        background: var(--tuning-accent);
        color: #000000;
        text-decoration: none;
    }
    
    .performance-results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    
    .result-card {
        min-height: 80px;
        max-height: 100px;
        padding: 0.75rem;
    }
    
    .result-value {
        font-size: 1.4rem;
        color: #ffffff !important;
    }
}

/* Standard desktop layout (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .container {
        max-width: 1200px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .desktop-enhanced-layout {
        display: grid !important;
        grid-template-columns: 260px 1fr;
        grid-gap: 1.5rem;
        align-items: start;
    }
    
    .desktop-input-sidebar {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .sidebar-title {
        font-size: 1.1rem;
    }
    
    .sidebar-nav-item {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }
}

/* Large desktop layout (1280px - 1439px) - Optimized for your screen */
@media (min-width: 1280px) and (max-width: 1439px) {
    .container {
        max-width: 1240px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .desktop-enhanced-layout {
        display: grid !important;
        grid-template-columns: 280px 1fr;
        grid-gap: 1.5rem;
        align-items: start;
    }
    
    .desktop-input-sidebar {
        padding: 1.75rem;
        border-radius: 12px;
    }
    
    .sidebar-title {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }
    
    .sidebar-nav-item {
        padding: 0.7rem 0.9rem;
        font-size: 0.98rem;
        margin-bottom: 0.4rem;
    }
    
    .navbar {
        min-height: 75px;
    }
    
    .navbar-brand {
        font-size: 1.7rem;
    }
    
    .hero-section h1 {
        font-size: 1.7rem !important;
    }
    
    .hero-section p {
        font-size: 1.05rem;
        max-width: 750px;
    }
}

/* Extra large desktop layout (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1500px;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
    
    .desktop-enhanced-layout {
        display: grid !important;
        grid-template-columns: 340px 1fr;
        grid-gap: 2.5rem;
        align-items: start;
    }
    
    .desktop-input-sidebar {
        padding: 2.5rem;
        border-radius: 15px;
    }
    
    .sidebar-title {
        font-size: 1.3rem;
    }
    
    .sidebar-nav-item {
        padding: 0.85rem 1.2rem;
        font-size: 1.05rem;
    }
}
    
/* Common desktop styling for all sizes 1024px+ */
@media (min-width: 1024px) {
    /* Navigation enhancements */
    .navbar {
        min-height: 70px;
        padding: 0.8rem 0;
        box-shadow: 0 4px 20px rgba(0, 212, 255, 0.12);
    }
    
    .navbar-brand {
        font-size: 1.6rem;
        transition: all 0.3s ease;
    }
    
    .navbar-brand:hover {
        transform: scale(1.03);
        text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    }
    
    /* Hero section */
    .hero-section {
        padding: 2rem 0 !important;
        background: linear-gradient(135deg, #212529 0%, #343a40 50%, #495057 100%);
    }
    
    .hero-section h1 {
        font-size: 1.6rem !important;
        margin-bottom: 0.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        max-width: 700px;
        margin: 0 auto;
    }
    
    /* Common sidebar styling */
    .desktop-input-sidebar {
        background: var(--tuning-bg-panel);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        border: 1px solid var(--tuning-border);
        position: sticky;
        top: 20px;
        height: calc(100vh - 200px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--tuning-accent) var(--tuning-bg-secondary);
    }
    
    .desktop-input-sidebar::-webkit-scrollbar {
        width: 6px;
    }
    
    .desktop-input-sidebar::-webkit-scrollbar-track {
        background: var(--tuning-bg-secondary);
        border-radius: 3px;
    }
    
    .desktop-input-sidebar::-webkit-scrollbar-thumb {
        background: var(--tuning-accent);
        border-radius: 3px;
    }
    
    /* Sidebar navigation styles */
    .sidebar-nav {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .sidebar-title {
        color: var(--tuning-accent);
        font-weight: 600;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--tuning-border);
        text-align: center;
    }
    
    .sidebar-nav-item {
        display: flex;
        align-items: center;
        padding: 1rem;
        background: linear-gradient(135deg, var(--tuning-bg-secondary), #3a3a3a);
        border: 1px solid var(--tuning-border);
        border-radius: 8px;
        color: var(--tuning-text-primary);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .sidebar-nav-item:hover {
        background: linear-gradient(135deg, var(--tuning-accent-dark), var(--tuning-accent));
        color: var(--tuning-text-primary);
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    }
    
    .sidebar-nav-item:active {
        transform: translateY(0);
        box-shadow: 0 4px 10px rgba(0, 212, 255, 0.2);
    }
    
    /* Sidebar page styles */
    .sidebar-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--tuning-border);
    }
    
    .back-btn {
        background: linear-gradient(135deg, var(--tuning-bg-secondary), #3a3a3a);
        border: 1px solid var(--tuning-border);
        color: var(--tuning-text-primary);
        transition: all 0.3s ease;
    }
    
    .back-btn:hover {
        background: linear-gradient(135deg, var(--tuning-accent-dark), var(--tuning-accent));
        color: var(--tuning-text-primary);
        transform: translateX(-2px);
    }
    
    .articles-list, .engine-tools-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-item, .tool-item {
        background: var(--tuning-bg-secondary);
        border: 1px solid var(--tuning-border);
        border-radius: 8px;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .article-item:hover, .tool-item:hover {
        background: var(--tuning-bg-panel);
        border-color: var(--tuning-accent);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    }
    
    .article-link {
        display: flex;
        align-items: center;
        padding: 1rem;
        text-decoration: none;
        color: var(--tuning-text-primary);
    }
    
    .article-link:hover {
        color: var(--tuning-text-primary);
        text-decoration: none;
    }
    
    .tool-item {
        display: flex;
        align-items: center;
        padding: 1rem;
    }
    
    .article-icon, .tool-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, var(--tuning-accent), rgba(0, 212, 255, 0.8));
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        margin-right: 1rem;
        font-size: 1.2rem;
    }
    
    .article-content, .tool-content {
        flex: 1;
    }
    
    .article-content h6, .tool-content h6 {
        color: var(--tuning-text-primary);
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .article-desc, .tool-desc {
        color: var(--tuning-text-secondary);
        font-size: 0.8rem;
        margin: 0;
        line-height: 1.3;
    }
    
    /* Content pages that display in main results area */
    .content-page {
        background: var(--tuning-bg-panel);
        border: 1px solid var(--tuning-border);
        border-radius: 12px;
        padding: 2rem;
        margin-top: 1rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
    
    .content-page .sidebar-header {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--tuning-border);
    }
    
    .content-page .sidebar-title {
        color: var(--tuning-accent);
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0;
    }
    
    /* Horizontal tab navigation for desktop */
    .nav-tabs {
        flex-direction: row;
        border: none;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .nav-tabs .nav-item {
        margin-bottom: 0;
        width: auto;
    }
    
    .nav-tabs .nav-link {
        border: 1px solid var(--tuning-border);
        border-radius: 8px;
        padding: 0.75rem 1.5rem;
        background: var(--tuning-bg-secondary);
        color: var(--tuning-text-secondary);
        text-align: center;
        transition: all 0.3s ease;
        margin-bottom: 0;
        font-weight: 500;
        white-space: nowrap;
    }
    
    .nav-tabs .nav-link:hover {
        background: rgba(0, 212, 255, 0.1);
        border-color: var(--tuning-accent);
        color: var(--tuning-text-primary);
        transform: translateY(-2px);
    }
    
    .nav-tabs .nav-link.active {
        background: linear-gradient(45deg, var(--tuning-accent), rgba(0, 212, 255, 0.8));
        border-color: var(--tuning-accent);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    }
    
    /* Horizontal tabs layout for desktop */
    #inputTabsDesktop {
        display: flex !important;
        justify-content: center;
        align-items: center;
        background: transparent;
        border: none;
        margin-bottom: 1rem;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    #inputTabsDesktop .nav-item {
        margin: 0 0.25rem;
    }
    
    #inputTabsDesktop .nav-link {
        background: linear-gradient(135deg, #17a2b8, #138496);
        border: 1px solid #17a2b8;
        border-radius: 8px;
        color: #ffffff;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
        cursor: pointer;
        white-space: nowrap;
        min-width: 140px;
        box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
    }
    
    #inputTabsDesktop .nav-link:hover {
        background: linear-gradient(135deg, #20c997, #17a2b8);
        border-color: #20c997;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(32, 201, 151, 0.4);
    }
    
    #inputTabsDesktop .nav-link.active {
        background: linear-gradient(135deg, #20c997, #17a2b8);
        border-color: #20c997;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(32, 201, 151, 0.4);
    }
    
    #inputTabsDesktop .nav-link i {
        font-size: 0.8rem;
        margin-right: 0.25rem;
    }

    /* Tab dropdown content that appears below horizontal tabs */
    .tab-dropdown-content {
        background: var(--tuning-bg-panel);
        border: 1px solid var(--tuning-border);
        border-radius: 12px;
        padding: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        animation: slideDown 0.3s ease-out;
        position: relative;
        z-index: 10;
        display: none; /* Hidden by default, shown via JavaScript */
    }
    
    .tab-dropdown-content:not([style*="display: none"]) {
        display: block !important;
    }
    
    .dropdown-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--tuning-border);
    }
    
    .dropdown-header h5 {
        color: var(--tuning-accent);
        margin: 0;
    }
    
    .close-dropdown-btn {
        border: 1px solid var(--tuning-border);
        color: var(--tuning-text-secondary);
        background: var(--tuning-bg-secondary);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .close-dropdown-btn:hover {
        background: #dc3545;
        border-color: #dc3545;
        color: white;
        transition: all 0.3s ease;
    }
    
    .close-dropdown-btn:hover {
        background: var(--tuning-accent);
        color: #ffffff;
        border-color: var(--tuning-accent);
    }
    
    .tab-dropdown-content h5 {
        color: var(--tuning-accent);
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--tuning-border);
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Enhanced desktop tuning panels */
    .tuning-panel {
        background: linear-gradient(135deg, var(--tuning-bg-panel), #404040);
        border: 1px solid var(--tuning-border);
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        position: relative;
        transition: all 0.3s ease;
    }
    
    .tuning-panel:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
        border-color: rgba(0, 212, 255, 0.3);
    }
    
    .tuning-panel::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--tuning-accent), var(--tuning-accent-secondary));
        border-radius: 12px 12px 0 0;
    }
    
    /* Desktop results area enhancements */
    .desktop-results-main {
        background: var(--tuning-bg-panel);
        border-radius: 12px;
        padding: 2rem;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
        position: sticky;
        top: 20px;
    }
    
    /* Enhanced performance results layout - wider 2x2 grid */
    .performance-results-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 1.5rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .result-card {
        background: linear-gradient(135deg, var(--tuning-bg-secondary), #3a3a3a);
        border: 1px solid var(--tuning-border);
        border-radius: 12px;
        padding: 1.5rem;
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 120px;
        max-height: 140px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .result-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--tuning-accent), var(--tuning-accent-secondary));
    }
    
    .result-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 212, 255, 0.2);
        border-color: var(--tuning-accent);
    }
    
    .result-label {
        font-size: 0.75rem;
        color: var(--tuning-text-secondary);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.25rem;
        line-height: 1.2;
    }
    
    .result-value {
        font-size: 2.2rem;
        font-weight: 700;
        color: #ffffff !important;
        line-height: 1;
        margin-bottom: 0.5rem;
        font-family: 'Segoe UI', 'Roboto', monospace;
    }
    
    .result-unit {
        font-size: 0.8rem;
        color: var(--tuning-accent);
        font-weight: 600;
        text-transform: uppercase;
    }
    
    /* Enhanced SLR result card */
    .slr-result-card {
        grid-column: 1 / -1;
        min-height: 100px;
        max-height: 120px;
        margin-bottom: 1.5rem;
    }
    
    .slr-result-card .result-value {
        font-size: 2rem;
    }
    
    /* Desktop sidebar info panel */
    .desktop-info-sidebar {
        position: sticky;
        top: 20px;
    }
    

    
    /* Enhanced accordion for desktop */
    .accordion-button {
        background: linear-gradient(135deg, var(--tuning-bg-secondary), #3a3a3a);
        color: var(--tuning-text-primary);
        border: 1px solid var(--tuning-border);
        border-radius: 8px;
        padding: 1.25rem 1.5rem;
        font-weight: 600;
        transition: all 0.3s ease;
        margin-bottom: 0.5rem;
    }
    
    .accordion-button:not(.collapsed) {
        background: linear-gradient(45deg, var(--tuning-accent), rgba(0, 212, 255, 0.8));
        color: white;
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
        transform: translateY(-2px);
    }
    
    .accordion-button:hover {
        background: rgba(0, 212, 255, 0.1);
        border-color: var(--tuning-accent);
        transform: translateY(-1px);
    }
    
    /* Enhanced form controls for desktop */
    .form-control, .form-select {
        background: var(--tuning-bg-secondary);
        border: 1px solid var(--tuning-border);
        color: var(--tuning-text-primary);
        border-radius: 8px;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }
    
    .form-control:focus, .form-select:focus {
        background: var(--tuning-bg-panel);
        border-color: var(--tuning-accent);
        box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
        color: var(--tuning-text-primary);
    }
    
    /* Enhanced buttons for desktop */
    .btn-primary {
        background: linear-gradient(45deg, var(--tuning-accent), var(--tuning-accent-secondary));
        border: none;
        padding: 0.875rem 2rem;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    }
    
    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
        background: linear-gradient(45deg, #00b8e6, #e55a2b);
    }
    
    /* Enhanced tooltips for desktop */
    .tooltip {
        font-size: 0.85rem;
    }
    
    .tooltip-inner {
        background: var(--tuning-bg-panel);
        border: 1px solid var(--tuning-accent);
        color: var(--tuning-text-primary);
        border-radius: 6px;
        padding: 0.75rem 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    /* Performance indicators enhanced for desktop */
    .performance-indicator {
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        margin: 0.25rem;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .performance-indicator:before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        margin-right: 0.5rem;
        background: currentColor;
    }
    
    /* Desktop-specific utility classes */
    .desktop-only {
        display: block;
    }
    
    .mobile-only {
        display: none;
    }
    
    /* Enhanced spacing for desktop */
    .desktop-spacing {
        margin-top: 3rem;
        margin-bottom: 3rem;
    }
    
    /* Desktop table enhancements */
    .table-responsive {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    
    .table {
        background: var(--tuning-bg-panel);
        color: var(--tuning-text-primary);
    }
    
    .table th {
        background: var(--tuning-bg-secondary);
        color: var(--tuning-accent);
        border-color: var(--tuning-border);
        padding: 1rem;
    }
    
    .table td {
        border-color: var(--tuning-border);
        padding: 0.875rem 1rem;
    }
    
    /* Desktop badge enhancements */
    .badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: 20px;
        font-weight: 500;
    }
}

/* Medium desktop optimizations (1024px-1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .desktop-enhanced-layout {
        grid-template-columns: 280px 1fr;
        grid-gap: 1.5rem;
    }
    
    .result-value {
        font-size: 1.6rem;
        color: #ffffff !important;
    }
    
    .result-card {
        min-height: 90px;
        max-height: 110px;
        padding: 0.75rem;
    }
}

/* Large desktop optimizations (1200px-1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1400px;
    }
    
    .desktop-enhanced-layout {
        grid-template-columns: 320px 1fr;
        grid-gap: 2rem;
    }
    
    .hero-section h1 {
        font-size: 2rem !important;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .result-value {
        font-size: 2rem;
        color: #ffffff !important;
    }
    
    .result-card {
        min-height: 110px;
        max-height: 130px;
    }
}

/* Ultra-wide desktop optimizations (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1600px;
    }
    
    .desktop-enhanced-layout {
        grid-template-columns: 340px 1fr;
        grid-gap: 2.5rem;
    }
    
    .hero-section h1 {
        font-size: 2.2rem !important;
    }
    
    .hero-section p {
        font-size: 1.2rem;
    }
    
    .result-value {
        font-size: 2.2rem;
        color: #ffffff !important;
    }
    
    .result-card {
        min-height: 120px;
        max-height: 140px;
        padding: 1.25rem;
    }
}

/* Very large screens (1800px+) */
@media (min-width: 1800px) {
    .desktop-enhanced-layout {
        grid-template-columns: 360px 1fr;
        grid-gap: 3rem;
    }
    
    .performance-results-grid {
        gap: 1.25rem;
    }
    
    .result-value {
        font-size: 2.4rem;
        color: #ffffff !important;
    }
}

/* Mobile Safeguards - Prevent desktop styles from affecting mobile */
@media (max-width: 768px) {
    .desktop-enhanced-layout {
        display: none !important;
    }
    
    .desktop-input-sidebar,
    .desktop-results-main,
    .desktop-info-sidebar {
        display: none !important;
    }
    
    /* Hide desktop tab dropdown content on mobile */
    .tab-dropdown-content {
        display: none !important;
    }
    
    /* Ensure mobile tabs work properly */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}