/* Estilos estilo Apple (Human Interface Guidelines) */

:root {
    --primary-color: #007AFF;
    --bg-color: #F5F5F7;
    --sidebar-bg: #FFFFFF;
    --card-bg: #FFFFFF;
    --text-primary: #1D1D1F;
    --text-secondary: #86868B;
    --border-color: #D2D2D7;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== LOGIN SPLIT DESIGN ========== */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF6B35;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.8) 2px, transparent 2px);
    background-size: 
        400px 400px,
        400px 400px;
    background-position: 
        -100px -100px,
        calc(100% + 100px) calc(100% + 100px);
    background-repeat: no-repeat;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.login-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 20px 20px;
    border-radius: 50%;
    opacity: 0.6;
}

.login-wrapper::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 2px, transparent 2px);
    background-size: 20px 20px;
    border-radius: 50%;
    opacity: 0.6;
}

.login-split-container {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-height: 500px;
}

/* Panel Izquierdo - Formulario */
.login-panel-left {
    width: 40%;
    background: #FFFFFF;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 50px;
    position: relative;
    border-radius: 16px 0 0 16px;
}

.login-panel-content {
    width: 100%;
    max-width: 400px;
    animation: fadeInLeft 0.6s ease-out;
    padding-top: 0;
}

.registro-full-panel .login-panel-content {
    max-width: 100%;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 60px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.registro-full-panel .login-logo {
    margin-bottom: 25px;
    font-size: 20px;
    justify-content: center;
}

.login-logo-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.registro-full-panel .login-logo-icon {
    width: 54px;
    height: 54px;
}

.login-user-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 0;
}

.registro-full-panel .login-user-icon {
    margin-bottom: 18px;
}

.login-logo-image {
    max-width: 60px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.registro-full-panel .login-logo-image {
    max-width: 50px;
    max-height: 50px;
}

.user-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a4fa0 0%, #2c5aa0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(26, 79, 160, 0.25);
}

.user-icon-circle i {
    font-size: 50px;
    color: #FFFFFF;
}

.login-form {
    width: 100%;
}

.form-group-icon {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.registro-full-panel .form-group-icon {
    gap: 8px;
    margin-bottom: 12px;
}

.form-icon {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 28px;
    flex-shrink: 0;
}

.registro-full-panel .form-icon {
    font-size: 14px;
    margin-top: 20px;
}

.form-input-wrapper {
    flex: 1;
}

.login-form .form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.registro-full-panel .login-form .form-label {
    font-size: 11px;
    margin-bottom: 5px;
}

.login-form .form-control {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.registro-full-panel .login-form .form-control {
    padding: 8px 10px;
    font-size: 12px;
}

.login-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* RFC Dropdown personalizado */
.rfc-wrapper {
    position: relative;
}

.rfc-input-container {
    position: relative;
}

.rfc-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.rfc-dropdown-list {
    padding: 4px 0;
}

.rfc-dropdown-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    transition: background-color 0.2s ease;
}

.rfc-dropdown-item:hover {
    background-color: #F5F5F7;
}

.rfc-dropdown-item.empty {
    color: var(--text-secondary);
    cursor: default;
    font-style: italic;
}

.rfc-dropdown-item.empty:hover {
    background-color: transparent;
}

.btn-login {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, #1a4fa0 0%, #2c5aa0 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.registro-full-panel .btn-login {
    padding: 10px 16px;
    font-size: 12px;
    margin-bottom: 14px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #154088 0%, #244a88 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 79, 160, 0.3);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.remember-me label {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    margin: 0;
}

.forgot-password {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: var(--primary-color);
}

.login-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D0D0D0;
    transition: all 0.2s ease;
}

.dot.active {
    background: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Panel Derecho - Bienvenida */
.login-panel-right {
    width: 60%;
    background: linear-gradient(135deg, #1a4fa0 0%, #3d7bd9 50%, #6ba3f5 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-radius: 0 16px 16px 0;
}

.login-panel-right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.login-panel-right::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 200, 150, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    color: #FFFFFF;
    animation: fadeInRight 0.6s ease-out;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.welcome-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.welcome-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.welcome-footer {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-footer p {
    font-size: 15px;
    margin: 0;
    opacity: 0.9;
}

.welcome-footer a {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.welcome-footer a:hover {
    opacity: 0.8;
}

.welcome-notifications {
    margin-top: auto;
    padding-top: 20px;
}

.welcome-alert {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #FFFFFF !important;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.welcome-alert .alert-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}

.welcome-alert .btn-close {
    filter: invert(1);
    opacity: 0.8;
    flex-shrink: 0;
}

.welcome-alert .btn-close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-panel-left {
        width: 50%;
        padding: 40px 50px;
    }
    
    .login-panel-right {
        width: 50%;
        padding: 40px;
    }
    
    .welcome-title {
        font-size: 36px;
    }
    
    .welcome-description {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .login-wrapper {
        padding: 15px;
    }
    
    .login-split-container {
        flex-direction: column;
        border-radius: 16px;
        min-height: auto;
    }
    
    .login-panel-left {
        width: 100%;
        padding: 30px 25px;
        border-radius: 16px 16px 0 0;
    }
    
    .login-panel-right {
        width: 100%;
        padding: 30px 25px;
        min-height: 250px;
        border-radius: 0 0 16px 16px;
    }
    
    .welcome-title {
        font-size: 28px;
    }
    
    .welcome-description {
        font-size: 15px;
    }
    
    .user-icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .user-icon-circle i {
        font-size: 40px;
    }
}

.registro-single-panel {
    max-width: 480px;
    margin: 0 auto;
    min-height: auto;
}

.registro-full-panel {
    width: 100% !important;
    border-radius: 16px !important;
    padding: 20px 35px !important;
}

.login-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.login-footer p {
    margin: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.registro-full-panel .login-footer {
    margin-top: 14px;
    padding-top: 14px;
}

.registro-full-panel .login-footer p {
    font-size: 12px;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.login-footer a:hover {
    text-decoration: underline;
    color: #0051D5;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.form-row .form-group-icon {
    margin-bottom: 0;
}

.registro-full-panel .form-row {
    gap: 8px;
    margin-bottom: 12px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .registro-card {
        max-width: 100%;
        padding: 32px 24px;
    }
}

/* ========== DASHBOARD LAYOUT ========== */
.app-container {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-color);
}

/* Sidebar */
.sidebar {
    width: 220px;
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1100;
    transition: transform 0.3s ease;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

.sidebar-overlay.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.sidebar-header {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    min-height: 50px;
    box-sizing: border-box;
}

.sidebar-header i {
    font-size: 20px;
    color: var(--primary-color);
}

.sidebar-header .sidebar-logo {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 12px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
    width: 100%;
}

.nav-item:hover {
    background-color: #F5F5F7;
    color: var(--primary-color);
}

.nav-item.active {
    background-color: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
    font-weight: 500;
}

.nav-item i {
    font-size: 16px;
    width: 18px;
    text-align: center;
}

.nav-section {
    margin-top: 16px;
}

.nav-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    transition: all 0.2s ease;
    user-select: none;
}

.nav-section-title:hover {
    background-color: var(--bg-color);
    color: var(--text-primary);
}

.nav-section-title i {
    font-size: 14px;
}

.nav-section-icon {
    transition: transform 0.2s ease;
    font-size: 12px;
}

.nav-submenu {
    list-style: none;
    margin-top: 8px;
    padding: 0;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.user-info i {
    font-size: 28px;
    color: var(--text-secondary);
}

.user-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.user-tenant {
    font-size: 11px;
    color: var(--text-secondary);
}

.btn-logout {
    padding: 8px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-logout:hover {
    background-color: #F5F5F7;
    color: var(--text-primary);
}

.btn-logout i {
    font-size: 18px;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 220px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.top-navbar {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 32px;
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

.menu-toggle i {
    font-size: 24px;
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.tenant-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: var(--bg-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-secondary);
}

.tenant-badge i {
    font-size: 16px;
}

.page-content {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ========== DASHBOARD CARDS ========== */
.dashboard-container {
    max-width: 1400px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.stat-icon.prospectos {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon.contactos {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-icon.clientes {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.stat-link {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.stat-link:hover {
    background-color: rgba(0, 122, 255, 0.1);
    color: var(--primary-color);
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
}

.recent-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h5 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header h5 i {
    color: var(--primary-color);
}

.btn-link {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-link:hover {
    text-decoration: underline;
}

.card-body {
    padding: 16px;
}

.list-group {
    list-style: none;
}

.list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    margin-bottom: 8px;
}

.list-item:hover {
    background-color: var(--bg-color);
}

.list-item-content {
    flex: 1;
}

.list-item-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.list-item-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.list-item-meta {
    margin-left: 16px;
}

/* ========== CATALOGOS ========== */
.catalog-container {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: visible;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    height: 100%;
    position: relative;
}

.catalog-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: sticky;
    top: 0;
    z-index: 10000;
    background-color: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    isolation: isolate;
}

.catalog-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.catalog-count {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.catalog-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 16px;
}

.catalog-search i {
    position: absolute;
    left: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    pointer-events: none;
}

.catalog-search input {
    padding: 8px 12px 8px 36px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    background-color: var(--card-bg);
    width: 250px;
    transition: all 0.2s ease;
}

.catalog-search input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.catalog-search input::placeholder {
    color: var(--text-secondary);
}

.catalog-search select {
    padding: 8px 12px 8px 36px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-primary);
    background-color: var(--card-bg);
    width: 250px;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2386868B' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.catalog-search select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.contacto-card-clickable,
.prospecto-card-clickable {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacto-card-clickable:hover,
.prospecto-card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-action-historial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-action-historial:hover {
    background-color: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-action-historial i {
    font-size: 16px;
}

/* Botones de acción en tarjetas de tareas (solo iconos) */
.btn-action-tarea {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-action-tarea:hover {
    background-color: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-action-tarea i {
    font-size: 14px;
}

.catalog-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 4px;
}

.catalog-table {
    overflow-x: auto;
    position: relative;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background-color: var(--bg-color);
}

.table th {
    padding: 16px 32px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 20px 32px;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    color: var(--text-primary);
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: var(--bg-color);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* ========== PROSPECTOS KANBAN ========== */
.prospectos-kanban {
    padding: 24px;
    overflow-x: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.prospectos-columns {
    display: flex;
    gap: 8px;
    min-width: fit-content;
    height: 100%;
    align-items: stretch;
}

.prospecto-column {
    min-width: 240px;
    max-width: 240px;
    background-color: var(--bg-color);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prospecto-column-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--card-bg);
    border-radius: var(--radius) var(--radius) 0 0;
}

.prospecto-column-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.prospecto-count {
    background-color: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.prospecto-column-body {
    padding: 12px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.prospecto-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-sm);
    padding: 8px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    cursor: grab;
}

.prospecto-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.prospecto-card[draggable="true"]:active {
    cursor: grabbing;
}

.prospecto-column-body.drag-over {
    background-color: rgba(0, 122, 255, 0.05);
    border: 2px dashed var(--primary-color);
    border-radius: var(--radius-sm);
}

.prospecto-card:last-child {
    margin-bottom: 0;
}

.prospecto-card-header {
    margin-bottom: 4px;
}

.prospecto-card-header strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.prospecto-card-body {
    font-size: 12px;
}

.prospecto-detail {
    margin: 2px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.prospecto-detail i {
    font-size: 12px;
    width: 14px;
}

.prospecto-date {
    margin-top: 4px;
    padding-top: 4px;
    margin-bottom: 0;
    border-top: 1px solid var(--bg-color);
    color: var(--text-secondary);
}

.prospecto-date small {
    display: block;
    line-height: 1.2;
}

.prospecto-empty {
    text-align: center;
    padding: 24px;
    color: var(--text-secondary);
    font-size: 13px;
}

/* Tooltip para prospecto-card */
.prospecto-tooltip {
    position: fixed;
    background-color: #1D1D1F;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 300px;
    min-width: 200px;
    z-index: 10000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    line-height: 1.5;
    display: none;
    transform: translateX(-50%);
    margin-top: -8px;
}

.prospecto-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1D1D1F;
}

/* ========== TABS ========== */
.nav-tabs {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
    display: flex;
    width: 100%;
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
    flex: 1;
    text-align: center;
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: var(--border-color);
    color: var(--text-primary);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom-color: var(--primary-color);
}

.nav-tabs .nav-link i {
    font-size: 16px;
}

.tab-content {
    min-height: 200px;
}

/* ========== ETAPAS DE VENTA ========== */
.etapa-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    cursor: default;
    position: relative;
    overflow: visible;
    word-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    min-height: 100px;
}

.etapa-card .prospecto-card {
    overflow: visible;
}

.etapa-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.etapa-card.dragging {
    opacity: 0.5;
}

.etapa-card.drag-over {
    border: 2px dashed var(--primary-color);
    background-color: rgba(0, 122, 255, 0.05);
}

.drag-handle {
    cursor: grab;
    user-select: none;
}

.drag-handle:active {
    cursor: grabbing;
}

.btn-delete-etapa {
    background-color: #F8D7DA;
    border: none;
    color: #721C24;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-width: 28px;
    height: 24px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-delete-etapa:hover {
    background-color: #DC3545;
    color: #FFFFFF;
    transform: scale(1.05);
}

.btn-delete-etapa i {
    font-size: 12px;
}

.btn-edit-contacto {
    background-color: #D1ECF1;
    border: none;
    color: #0C5460;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-width: 28px;
    height: 24px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-edit-contacto:hover {
    background-color: #007AFF;
    color: #FFFFFF;
    transform: scale(1.05);
}

.btn-edit-contacto i {
    font-size: 12px;
}

.btn-create-prospecto {
    background-color: #FFF3E0;
    border: none;
    color: #E65100;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-width: 28px;
    height: 24px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-create-prospecto:hover {
    background-color: #FF9800;
    color: #FFFFFF;
    transform: scale(1.05);
}

.btn-create-prospecto i {
    font-size: 12px;
}

.btn-facturacion {
    background-color: #E8F5E9;
    border: none;
    color: #2E7D32;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    min-width: 28px;
    height: 24px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-facturacion:hover {
    background-color: #4CAF50;
    color: #FFFFFF;
    transform: scale(1.05);
}

.btn-facturacion i {
    font-size: 12px;
}

/* ========== UTILITIES ========== */
.alert {
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.text-muted {
    color: var(--text-secondary) !important;
}

.badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* ========== MODAL CONTACTO (NUEVO) ========== */
.contacto-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10010;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.contacto-modal {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    max-width: 360px;
    width: 90%;
    max-height: 85vh;
    position: relative;
    z-index: 10000;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.contacto-modal-header {
    padding: 12px 16px;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    flex-shrink: 0;
}

.contacto-modal-header h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #1D1D1F;
}

.contacto-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #86868B;
    cursor: pointer;
    padding: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.contacto-modal-close:hover {
    background-color: #F5F5F7;
    color: #1D1D1F;
}

.contacto-modal-body {
    padding: 16px;
    margin: 0;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.contacto-form-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.contacto-form-group:last-of-type {
    margin-bottom: 0;
}

.contacto-form-icon {
    font-size: 14px;
    color: #86868B;
    margin-top: 20px;
    flex-shrink: 0;
}

.contacto-form-field {
    flex: 1;
}

.contacto-form-field label {
    font-size: 10px;
    font-weight: 500;
    color: #86868B;
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacto-form-field input,
.contacto-form-field textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 13px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    background-color: #FFFFFF;
    color: #1D1D1F;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contacto-form-field textarea {
    resize: vertical;
    min-height: 60px;
}

.contacto-form-field input:focus {
    outline: none;
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.contacto-form-error {
    color: #DC3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Mensaje flotante de error en el modal */
.contacto-modal-error-floating {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background-color: #FF4444;
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.3);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 10001;
    opacity: 1;
    animation: slideInToast 0.4s ease-out forwards;
    max-width: calc(100% - 32px);
    min-width: 200px;
    pointer-events: none;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
}

.contacto-modal-error-floating i {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contacto-modal-error-floating span {
    flex: 1;
    word-wrap: break-word;
    white-space: normal;
}

@keyframes slideInToast {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


.contacto-modal-footer {
    padding: 10px 16px;
    border-top: 1px solid #E0E0E0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
    flex-shrink: 0;
}

.contacto-btn-cancel,
.contacto-btn-save {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.contacto-btn-cancel {
    background-color: #F5F5F7;
    color: #1D1D1F;
}

.contacto-btn-cancel:hover {
    background-color: #E8E8ED;
}

.contacto-btn-save {
    background-color: #007AFF;
    color: #FFFFFF;
}

.contacto-btn-save:hover {
    background-color: #0051D5;
}

.contacto-modal form {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* Estilos personalizados para checkboxes en modales */
.contacto-form-field input[type="checkbox"].form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #E0E0E0;
    border-radius: 4px;
    background-color: #FFFFFF;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.contacto-form-field input[type="checkbox"].form-check-input:checked {
    background-color: #007AFF;
    border-color: #007AFF;
}

.contacto-form-field input[type="checkbox"].form-check-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}

.contacto-form-field input[type="checkbox"].form-check-input:hover {
    border-color: #007AFF;
}

.contacto-form-field input[type="checkbox"].form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* ========== MODAL ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-overlay.show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.modal-overlay.show .modal {
    display: block !important;
}

.modal {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    width: 85%;
    max-height: auto;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
    z-index: 10000;
    margin: auto;
    padding: 0;
}

.modal form {
    margin: 0;
    padding: 0;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: var(--bg-color);
    color: var(--text-primary);
}

.modal-body {
    padding: 20px 20px 16px 20px;
}

.modal-body .form-group-icon {
    margin-bottom: 16px;
}

.modal-body .form-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-body .form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #FFFFFF;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.modal-body .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.modal-body .form-icon {
    font-size: 16px;
    color: var(--text-secondary);
    margin-top: 24px;
    flex-shrink: 0;
}

.modal-body .text-danger {
    color: #DC3545;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.modal-footer {
    padding: 8px 20px 4px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: none;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin: 0;
    min-height: auto;
}

.btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #0051D5;
}

.btn-secondary {
    background-color: var(--bg-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: #E8E8ED;
}

.btn-add {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-add:hover {
    background-color: #0051D5;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .sidebar {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease;
        z-index: 1100 !important;
    }
    
    .sidebar.show {
        transform: translateX(0) !important;
    }
    
    /* Selector más específico para máxima prioridad */
    aside.sidebar.show {
        transform: translateX(0) !important;
    }
    
    /* Forzar que el sidebar.show sobrescriba cualquier otro estilo */
    .app-container aside.sidebar.show {
        transform: translateX(0) !important;
    }
    
    .main-content {
        margin-left: 0;
        position: relative;
        z-index: 1;
    }
    
    .top-navbar {
        padding: 16px 20px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .stats-grid,
    .recent-grid {
        grid-template-columns: 1fr;
    }
    
    .page-content {
        padding: 16px;
    }
    
    .modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-body {
        padding: 20px 20px 16px 20px;
    }
    
    .modal-footer {
        padding: 8px 20px 6px 20px;
    }
    
    .contacto-modal {
        width: 95%;
        max-height: 95vh;
        margin: 10px;
    }
    
    .contacto-modal-overlay {
        align-items: flex-start;
        padding: 10px 0;
        overflow-y: auto;
    }
    
    .contacto-modal-header {
        flex-shrink: 0;
        padding: 16px;
    }
    
    .contacto-modal-body {
        padding: 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .contacto-modal-footer {
        flex-shrink: 0;
        padding: 16px;
        border-top: 1px solid #E0E0E0;
    }
    
    .prospectos-kanban {
        padding: 16px;
    }
    
    .prospectos-columns {
        flex-direction: column;
        gap: 8px;
    }
    
    .prospecto-column {
        min-width: 100%;
        max-width: 100%;
        max-height: none;
    }
    
    .prospecto-column-body {
        max-height: 400px;
    }
}

/* ========== FILTROS HISTORIAL ========== */
#filtroTipoDropdown {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

#filtroTipoDropdown::-webkit-scrollbar {
    width: 6px;
}

#filtroTipoDropdown::-webkit-scrollbar-track {
    background: transparent;
}

#filtroTipoDropdown::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

#filtroTipoDropdown label {
    user-select: none;
}

#filtroTipoDropdown input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

#btnFiltroTipo:hover {
    background-color: var(--bg-color) !important;
    border-color: var(--primary-color) !important;
}

#filtroTipoDropdown label:hover {
    color: var(--primary-color);
}
