/* Custom styles */
.gradient-text {
    color: #1E3A8A;
    font-weight: 600;
}

.gradient-bg {
    background: #FFFFFF;
    border: 1px solid rgba(30, 58, 138, 0.1);
    width: 100px;
}

.gradient-bg-infinite {
    background: #FFFFFF;
    text-align: center;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

/* Custom Button Styles - Nova Paleta Azul/Laranja/Branco */

/* Botões Primários - Azul */
.btn-primary {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6) !important;
    border-color: #1E3A8A !important;
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1E40AF, #2563EB) !important;
    border-color: #1E40AF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-primary:focus, .btn-primary:active {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6) !important;
    border-color: #1E3A8A !important;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

/* Botões Secundários - Cinza Claro */
.btn-secondary {
    background: linear-gradient(135deg, #F8FAFC, #F1F5F9) !important;
    border-color: #E2E8F0 !important;
    color: #1E3A8A !important;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #F1F5F9, #E2E8F0) !important;
    border-color: #CBD5E1 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Botões de Sucesso - Azul Claro */
.btn-success {
    background: linear-gradient(135deg, #3B82F6, #60A5FA) !important;
    border-color: #3B82F6 !important;
    color: white !important;
}

.btn-success:hover {
    background: linear-gradient(135deg, #2563EB, #3B82F6) !important;
    border-color: #2563EB !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Botões de Aviso - Laranja */
.btn-warning {
    background: linear-gradient(135deg, #F97316, #FB923C) !important;
    border-color: #F97316 !important;
    color: white !important;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #EA580C, #F97316) !important;
    border-color: #EA580C !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Botões de Perigo - Laranja Escuro */
.btn-danger {
    background: linear-gradient(135deg, #EA580C, #F97316) !important;
    border-color: #EA580C !important;
    color: white !important;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #C2410C, #EA580C) !important;
    border-color: #C2410C !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

/* Botões Outline */
.btn-outline-primary {
    border-color: #3B82F6 !important;
    color: #3B82F6 !important;
}

.btn-outline-primary:hover {
    background-color: #3B82F6 !important;
    border-color: #3B82F6 !important;
    color: white !important;
    transform: translateY(-1px);
}

.btn-outline-secondary {
    border-color: #E2E8F0 !important;
    color: #1E3A8A !important;
}

.btn-outline-secondary:hover {
    background-color: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    color: #1E3A8A !important;
    transform: translateY(-1px);
}

.btn-outline-danger {
    border-color: #F97316 !important;
    color: #F97316 !important;
}

.btn-outline-danger:hover {
    background-color: #F97316 !important;
    border-color: #F97316 !important;
    color: white !important;
    transform: translateY(-1px);
}

/* Badges */
.badge.bg-primary {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6) !important;
}

.badge.bg-light {
    background: #F8FAFC !important;
    color: #1E3A8A !important;
}

.search-type-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    background: #FFFFFF;
}

.search-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.search-type-card.active {
    border-color: #1E3A8A !important;
    background: rgba(30, 58, 138, 0.05);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

.platform-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.5rem;
    background: #FFFFFF;
}

.platform-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.platform-card.active {
    border-color: #1E3A8A !important;
    background: rgba(30, 58, 138, 0.05);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
}

.prospect-card {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid rgba(30, 58, 138, 0.1);
    background: #FFFFFF;
}

.prospect-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.prospect-card.selected {
    border: 2px solid #1E3A8A !important;
    background: rgba(30, 58, 138, 0.05);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.15);
}

.stats-card {
    background: #FFFFFF;
    border-radius: 15px;
    transition: all 0.3s ease;
    padding: 1.5rem;
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.1);
    border-color: rgba(30, 58, 138, 0.2);
}

[data-bs-theme="dark"] .stats-card {
    background: #1a1a1a;
    border-color: rgba(59, 130, 246, 0.2);
    color: white;
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.export-section {
    background: #FFFFFF;
    border-radius: 16px;
    border: 2px solid rgba(30, 58, 138, 0.1);
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.search-header {
    background: #FFFFFF;
    border-radius: 16px 16px 0 0;
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
    padding: 1.5rem;
}

.loading-spinner {
    display: none;
}

.hero-section {
    background: #FFFFFF;
    color: #1E3A8A;
    border-radius: 20px;
    margin-bottom: 2rem;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.pagination-controls {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-status {
    background: rgba(30, 58, 138, 0.05);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: #1E3A8A;
}

.whatsapp-status {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 12px;
}

.rating-stars {
    color: #F97316;
}

.export-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.linkedin-gradient {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
    width: 100px;
}

.instagram-gradient {
    background: linear-gradient(135deg, #F97316, #FB923C);
    width: 100px;
}

.maps-gradient {
    background: linear-gradient(135deg, #1E3A8A, #F97316);
    width: 100px;
}

#minimap {
    height: 300px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.platform-example {
    font-size: 0.85rem;
    opacity: 0.8;
}

.search-mode-section {
    transition: all 0.3s ease;
}

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

[data-bs-theme="dark"] .login-card {
    background: rgba(0, 0, 0, 0.95);
    color: white;
}

.main-content {
    display: none;
}

.main-content.authenticated {
    display: block;
}

.login-form .form-control:focus {
    border-color: #F97316;
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

.login-loading {
    display: none;
}

.pulse-animation {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Transições suaves para todos os botões */
.btn {
    transition: all 0.3s ease;
}

/* Ajustes para botões desabilitados */
.btn:disabled {
    opacity: 0.6;
    transform: none !important;
    box-shadow: none !important;
}