/* --- Reset para garantir largura total --- */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

section, footer, header {
    width: 100%;
    box-sizing: border-box;
}

/* --- Topbar (site header) --- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    width: 100%;
}

.topbar-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
}

.topbar-container {
  width: 100%;
  height: 56px; /* faixa branca pequena */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.topbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.topbar-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar-logo-text {
  font-weight: 700;
  font-size: 15px;
  color: #111827;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-link {
    color: #111827; /* preto na faixa branca */
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px;
}

.topbar-link:hover {
    background: rgba(0,0,0,0.06);
}

.topbar-login {
    background: #2563eb; /* azul */
    color: #ffffff;
}

.topbar-login:hover {
    background: #1d4ed8;
}

.topbar-profile {
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-profile:hover {
    background: #1d4ed8;
}

.topbar-admin {
    background: #dc2626;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-admin:hover {
    background: #b91c1c;
}

@media (max-width: 640px) {
    .topbar-container {
        height: 48px;
        padding: 0 12px;
    }
    .topbar-logo-text {
        display: none;
    }
}

/* --- Search Bar --- */
.search-bar:focus-within {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.2);
}

.search-bar input::placeholder {
    color: rgba(255,255,255,0.6);
}

#clearSearchBtn {
    display: none;
}

#clearSearchBtn.visible {
    display: flex;
}

/* --- Category Buttons (faixa branca inferior) --- */
.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 50px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.category-btn-active {
    background: #2563eb;
    color: #ffffff;
}

.category-btn-active:hover {
    background: #1d4ed8;
}

/* Tool Cards Grid */
.tool-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Base Grid Styles */
.tools-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 16px;
}

.tools-cards-grouped {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.tools-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tool-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.tool-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.tool-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.tool-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}
.tool-card-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}
.tool-card-link {
    font-size: 14px;
    color: #2563eb;
    font-weight: 500;
    margin-top: auto;
}
.tool-card:hover .tool-card-link {
    text-decoration: underline;
}

/* Responsive Tools Grid */
@media (max-width: 1100px) {
    .tools-cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .tools-row {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 100% !important;
    }
}
@media (max-width: 900px) {
    .tools-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .tools-row {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 100% !important;
    }
}

/* ========================================
   MOBILE: DESIGN COM CARDS 3 POR LINHA
   ======================================== */
@media (max-width: 600px) {
    /* ===== SECONDARY BAR (container dos botões) ===== */
    .secondary-bar {
        margin-top: 40px !important;
        padding: 20px 16px !important;
    }
    
    /* ===== BOTÕES DE CATEGORIA - GRID 3+2 ===== */
    .category-buttons-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    /* Botões de categoria */
    .category-btn {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 8px !important;
        font-size: 11px !important;
        border-radius: 12px !important;
        width: 100% !important;
        gap: 6px !important;
        min-height: 60px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    .category-btn svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .category-btn span {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
    
    /* ===== GRID DE CARDS - 3 POR LINHA ===== */
    .tools-cards-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
        margin: 24px 16px 0 16px !important;
        box-sizing: border-box !important;
    }
    
    /* Grid agrupado - no mobile vira grid simples */
    .tools-cards-grid.tools-cards-grouped {
        display: grid !important;
        flex-direction: unset !important;
    }
    
    /* Tools Row - no mobile os cards saem do row e ficam no grid pai */
    .tools-row {
        display: contents !important;
    }
    
    /* ===== CARDS - MESMAS DIMENSÕES DA CATEGORIA FOTOS ===== */
    .tool-card {
        padding: 16px 10px !important;
        border-radius: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        min-height: 100px !important;
        box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important;
        background: #fff !important;
    }
    
    .tool-card-header {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .tool-card-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        flex-shrink: 0 !important;
    }
    
    .tool-card-icon svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .tool-card-title {
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        text-align: center !important;
        word-break: break-word !important;
        hyphens: auto !important;
        margin: 0 !important;
        color: #1f2937 !important;
    }
    
    /* Ocultar descrição e link no mobile */
    .tool-card-desc,
    .tool-card-link {
        display: none !important;
    }
    
    /* Estado vazio de pesquisa */
    .search-empty-state {
        grid-column: 1 / -1 !important;
        padding: 40px 16px !important;
    }
    
    .search-empty-state svg {
        width: 48px !important;
        height: 48px !important;
    }
    
    .search-empty-state h3 {
        font-size: 16px !important;
    }
    
    .search-empty-state p {
        font-size: 13px !important;
    }
}

/* Telas muito pequenas */
@media (max-width: 380px) {
    .secondary-bar {
        padding: 16px 12px !important;
    }
    
    .category-buttons-container {
        gap: 8px !important;
    }
    
    .category-btn {
        padding: 10px 6px !important;
        font-size: 10px !important;
        min-height: 54px !important;
        border-radius: 10px !important;
    }
    
    .category-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .category-btn span {
        font-size: 10px !important;
    }
    
    .tools-cards-grid {
        gap: 8px !important;
        margin: 20px 12px 0 12px !important;
    }
    
    .tool-card {
        padding: 12px 6px !important;
        border-radius: 14px !important;
        gap: 8px !important;
        min-height: 90px !important;
    }
    
    .tool-card-icon {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
    }
    
    .tool-card-icon svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .tool-card-title {
        font-size: 10px !important;
    }
}

/* Botão Ver Todos */
.see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.see-all-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

/* Grid de seleção de tipo de arquivo */
.file-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 24px;
    margin-bottom: 18px;
}
.file-type-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    background: transparent;
    border-radius: 12px;
    padding: 8px;
    box-shadow: none;
    transition: transform 0.15s;
    min-width: 80px;
}
.file-type-option.selected {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 2px 12px #fff3;
}
.file-type-option:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 18px #2575fc55;
}
.file-type-icon {
    width: 82px;
    height: 82px;
    margin-bottom: 0;
}
.file-type-label {
    font-size: 1.1rem;
    color: #2575fc;
    font-weight: bold;
    letter-spacing: 1px;
}
/* Grid para botões de conversão */
.option-btn-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 18px;
}
.option-btn {
    min-width: 0;
    font-size: 0.95rem;
    padding: 10px 0;
}
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #000;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

#star-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    display: block;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #fff;
}

/* Botão de voltar */
.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    z-index: 100;
}
.back-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateX(-2px);
}
.back-btn svg {
    width: 18px;
    height: 18px;
}
.container {
    max-width: 500px;
    margin: 80px auto;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    opacity: 1;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    padding: 40px 30px;
    text-align: center;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
}
.button-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.main-btn {
    background: #fff;
    color: #2575fc;
    border: none;
    border-radius: 10px;
    padding: 15px 10px;
    font-size: 1.35rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.main-btn:hover:enabled {
    background: #2575fc;
    color: #fff;
}
.main-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.option-btn {
    display: block;
    background: #fff;
    color: #2575fc;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.option-btn:hover {
    background: #2575fc;
    color: #fff;
}


/* Temas por tipo de arquivo - MODO ESCURO */
.theme-pdf .container {
    background: linear-gradient(135deg, #D32F2F, #B71C1C); /* Vermelho escuro */
}
.theme-pdf .main-btn {
    background: #fff;
    color: #B71C1C;
}
.theme-pdf .main-btn:hover:enabled {
    background: #B71C1C;
    color: #fff;
}
.theme-pdf .file-type-option:hover {
    box-shadow: 0 4px 18px #B71C1C55;
}
.theme-pdf .file-type-label {
    color: #B71C1C;
}
.theme-pdf h1 {
    text-shadow: 0 2px 12px #B71C1C99, 0 1px 0 #fff;
}
.theme-pdf #btn-novo {
    color: #B71C1C;
    border-color: #B71C1C;
}
.theme-pdf #btn-download {
    background: linear-gradient(90deg, #D32F2F 0%, #B71C1C 100%);
    box-shadow: 0 2px 8px #B71C1C55;
}
.theme-pdf .progress {
    background: #D32F2F;
}
.theme-pdf button.main-btn {
    background: linear-gradient(90deg, #D32F2F 0%, #B71C1C 100%);
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px #B71C1C55;
}

/* --- Why Choose Section --- */
.why-choose-section {
    background: linear-gradient(180deg, #6aa0ff 0%, #4b7bfd 50%, #3a63f0 100%);
    padding: 100px 24px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    position: relative;
    left: 0;
    right: 0;
}

.why-choose-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    top: -113px;
}

.why-choose-title {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.2;
}

.why-choose-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0 0 48px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-choose-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.why-choose-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.why-choose-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.why-choose-icon svg {
    color: #ffffff;
    stroke: #ffffff;
}

.why-choose-card-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
}

.why-choose-card-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Card Premium Destaque */
.why-choose-card-premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 180, 0, 0.15) 100%);
    border: 2px solid rgba(255, 215, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.why-choose-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.1) 50%, transparent 60%);
    animation: premiumShine 3s ease-in-out infinite;
}

@keyframes premiumShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.why-choose-card-premium:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 180, 0, 0.25) 100%);
    border-color: rgba(255, 215, 0, 0.8);
    transform: translateY(-6px) scale(1.02);
}

.why-choose-icon-premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffb400 100%);
}

.why-choose-icon-premium svg {
    stroke: #1a1a2e;
    fill: #1a1a2e;
}

.why-choose-premium-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb400 100%);
    color: #1a1a2e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.why-choose-premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #ffe033 0%, #ffc933 100%);
}

/* Responsive Why Choose */
@media (max-width: 1024px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .why-choose-section {
        padding: 40px 12px !important;
    }
    
    .why-choose-container {
        top: -40px !important;
        padding: 0 8px !important;
    }
    
    .why-choose-title {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }
    
    .why-choose-subtitle {
        font-size: 12px !important;
        margin-bottom: 16px !important;
        max-width: 100% !important;
    }
    
    /* 4 cards lado a lado */
    .why-choose-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
    }
    
    .why-choose-card {
        padding: 12px 6px !important;
        border-radius: 10px !important;
    }
    
    .why-choose-icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        margin-bottom: 8px !important;
    }
    
    .why-choose-icon svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .why-choose-card-title {
        font-size: 10px !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }
    
    /* Ocultar descrição no mobile */
    .why-choose-card-desc {
        display: none !important;
    }
}

/* --- Site Footer --- */
.site-footer {
    background: #0f172a;
    padding: 60px 0 24px;
    position: relative;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    margin: 0;
    margin-left: 50%;
    transform: translateX(-50%);
    left: 0;
    right: 0;
    overflow-x: hidden;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-centered {
    text-align: center;
    align-items: center;
}

.footer-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
}

.footer-desc {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e293b;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #3b82f6;
    color: #ffffff;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* Footer responsivo */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .cta-title {
        font-size: 28px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-column {
        text-align: center;
    }
}

/* Remove old footer */
footer:not(.site-footer) {
    display: none;
}
/* ========================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ======================================== */

/* Hero Section Mobile */
@media (max-width: 600px) {
    .hero {
        padding: 24px 12px 80px 12px !important;
    }
    
    .hero h2 {
        font-size: 24px !important;
        line-height: 1.2 !important;
    }
    
    .hero p {
        font-size: 14px !important;
        margin-top: 8px !important;
    }
}

/* Search Bar Mobile */
@media (max-width: 600px) {
    .search-bar-container {
        margin-top: 16px !important;
        padding: 0 8px !important;
    }
    
    .search-bar {
        padding: 2px 12px 2px 12px !important;
        border-radius: 40px !important;
    }
    
    .search-bar input {
        font-size: 14px !important;
        padding: 10px 8px 10px 0 !important;
    }
    
    .search-bar svg {
        width: 18px !important;
        height: 18px !important;
    }
}

/* Tools Grid Container Mobile */
@media (max-width: 600px) {
    #tools-grid {
        margin-top: 20px !important;
    }
}

/* Search Results Empty State Mobile */
@media (max-width: 600px) {
    #tools-grid > div[style*="grid-column: 1 / -1"] {
        padding: 40px 16px !important;
    }
    
    #tools-grid > div[style*="grid-column: 1 / -1"] svg {
        width: 48px !important;
        height: 48px !important;
    }
    
    #tools-grid > div[style*="grid-column: 1 / -1"] h3 {
        font-size: 16px !important;
    }
    
    #tools-grid > div[style*="grid-column: 1 / -1"] p {
        font-size: 13px !important;
    }
}

/* See All Button Mobile */
@media (max-width: 600px) {
    .see-all-btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
    }
    
    #see-all-container {
        margin-top: 20px !important;
    }
}

/* Sidebar Mobile */
@media (max-width: 600px) {
    .sidebar {
        width: 280px !important;
        left: -280px !important;
    }
    
    .sidebar-toggle {
        top: 12px !important;
        left: 12px !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 10px !important;
    }
}