@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Abstract background shapes to highlight the glass effect */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: float 20s infinite alternate ease-in-out;
}
.shape-1 { top: -10%; left: -10%; width: 40vw; height: 40vw; background: rgba(99, 102, 241, 0.3); }
.shape-2 { bottom: -10%; right: -10%; width: 50vw; height: 50vw; background: rgba(236, 72, 153, 0.2); }
.shape-3 { top: 40%; left: 50%; width: 30vw; height: 30vw; background: rgba(16, 185, 129, 0.15); }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* Glassmorphism Core Classes */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.glass-hover {
    transition: all 0.3s ease;
}
.glass-hover:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.glass-input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}
.glass-input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.company-filter {
    transition: all 0.2s ease;
    filter: grayscale(100%) opacity(0.6);
}
.company-filter:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}
.company-filter.active {
    filter: grayscale(0%) opacity(1);

}

/* Line clamp for description */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Loader animation */
.loader {
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #818cf8;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
/* O botão agora é invisível, serve apenas de "caixa" para segurar a imagem */
.filter-btn {
    background: transparent; /* Remove o fundo */
    border: none;            /* Remove a linha de borda */
    padding: 0;              /* Remove o espaçamento interno */
    width: 45px;             /* Tamanho do logo */
    height: 45px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.5;            /* Deixa o logo um pouco apagado quando não está selecionado */
}

/* Efeito ao passar o rato ou quando o filtro está ativo */
.filter-btn:hover,
.filter-btn.active {
    transform: scale(1.1);   /* Dá um leve zoom no logo */
    opacity: 1;              /* Deixa o logo com a cor 100% forte */
}

/* Garante que o logo não fica distorcido */
.filter-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}