
        :root {
            --primary-orange: #ff6b35;
            --primary-green: #2d5a27;
            --light-green: #4a7c59;
            --bg-light: #f8f9fa;
            --bg-white: #ffffff;
            --text-dark: #333;
            --text-light: #6c757d;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            overflow-x: hidden;
        }

        /* Desktop Navigation */
        .desktop-nav {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: 0 2px 15px rgba(0,0,0,0.1);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .desktop-nav.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-green);
            text-decoration: none;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary-orange), #ffaa00);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            color: white;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--text-dark);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
        }

        .nav-links a:hover {
            color: var(--primary-orange);
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary-orange);
            bottom: -5px;
            left: 0;
            transition: width 0.3s ease;
        }

        .nav-links a:hover:after {
            width: 100%;
        }

        .nav-buttons {
            display: flex;
            gap: 1rem;
        }

        .btn-outline-custom {
            border: 2px solid var(--primary-green);
            color: var(--primary-green);
            padding: 0.5rem 1.5rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-outline-custom:hover {
            background: var(--primary-green);
            color: white;
        }

        .btn-primary-custom {
            background: var(--primary-orange);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            border: 2px solid var(--primary-orange);
            transition: all 0.3s ease;
        }

        .btn-primary-custom:hover {
            background: transparent;
            color: var(--primary-orange);
        }

        /* Modern Hero Section */
        .modern-hero {
            background: var(--bg-light);
            padding: 120px 0 80px;
            position: relative;
            overflow: hidden;
            margin-top: 80px;
        }

        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            align-items: center;
            gap: 40px;
        }

        .hero-content {
            flex: 1;
            z-index: 2;
        }

        .hero-title {
            font-size: 3.2rem;
            font-weight: 800;
            color: var(--primary-green);
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero-title span {
            color: var(--primary-orange);
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--text-dark);
            margin-bottom: 2.5rem;
            opacity: 0.9;
            max-width: 500px;
        }

        .hero-cta {
            display: flex;
            gap: 15px;
            margin-bottom: 3rem;
        }

        .btn-primary {
            background: var(--primary-orange);
            color: white;
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
        }

        .btn-secondary {
            background: white;
            color: var(--primary-green);
            padding: 15px 25px;
            border-radius: 50px;
            font-weight: 600;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            border: 1px solid var(--primary-green);
        }

        .btn-secondary:hover {
            background: var(--primary-green);
            color: white;
        }

        .hero-stats {
            display: flex;
            gap: 30px;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: white;
            padding: 15px 20px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            min-width: 120px;
        }

        .stat-icon {
            font-size: 1.5rem;
            color: var(--primary-orange);
            margin-bottom: 10px;
        }

        .stat-label {
            font-size: 0.9rem;
            color: var(--text-dark);
            font-weight: 600;
            text-align: center;
        }

       .hero-image {
    position: relative;
    flex: 1;
  
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    margin-left: 100px;
    display: block;
    position: relative;

}

/* Degradado que coincide con el fondo del hero */
.hero-image::after {
    content: "";
    position: absolute;
    bottom: -1px; /* Cubre el borde sin dejar espacio */
    left: 100px;
    width: 100%;
    max-width: 400px;
    height: 30px; /* Ajusta según necesites */
    background: linear-gradient(
        to bottom,
        transparent 0%,
        #e9ecef 70%  /* Color del gradiente del hero (ajusta al tono exacto) */
    );
    z-index: 2; /* Se coloca sobre la imagen y su sombra */
    pointer-events: none;
    border-bottom-left-radius: 20px; /* Si la imagen tiene bordes redondeados */
    border-bottom-right-radius: 20px;
}

        .floating-card {
            position: absolute;
            background: white;
            padding: 15px 20px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
            gap: 10px;
            max-width: 200px;
            z-index: 3;
        }

        .floating-card i {
            font-size: 1.2rem;
            color: var(--primary-orange);
        }

        .floating-card p {
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-dark);
            margin: 0;
        }

        .card-1 {
            top: -20px;
            left: -20px;
            animation: float 6s ease-in-out infinite;
        }

        .card-2 {
            bottom: -20px;
            right: -20px;
            animation: float 6s ease-in-out infinite 2s;
        }

        .card-3 {
            top: 60px;
            right: -20px;
            animation: float 6s ease-in-out infinite 1s;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        /* Mobile Navigation */
        .mobile-navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            padding: 15px 20px;
            display: none;
        }

        .mobile-nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mobile-logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            color: var(--primary-green);
            font-weight: 700;
            font-size: 1.2rem;
            gap: 10px;
        }

        .mobile-menu-toggle {
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary-green);
            cursor: pointer;
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 85%;
            max-width: 350px;
            height: 100vh;
            background: white;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease;
            z-index: 1001;
            display: flex;
            flex-direction: column;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu-header {
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #eee;
            font-weight: 600;
            color: var(--primary-green);
        }

        .mobile-menu-close {
            background: none;
            border: none;
            font-size: 1.3rem;
            color: var(--text-dark);
            cursor: pointer;
        }

        .mobile-auth-buttons {
            padding: 20px;
            display: flex;
            gap: 10px;
            border-bottom: 1px solid #eee;
        }

        .btn-login {
            flex: 1;
            padding: 12px;
            text-align: center;
            border: 1px solid var(--primary-green);
            color: var(--primary-green);
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .btn-login:hover {
            background: rgba(45, 90, 39, 0.1);
        }

        .btn-register {
            flex: 1;
            padding: 12px;
            text-align: center;
            background: var(--primary-orange);
            color: white;
            border-radius: 8px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .btn-register:hover {
            background: #e55a2b;
        }

        .mobile-nav-links {
            list-style: none;
            padding: 0;
            margin: 0;
            flex: 1;
            overflow-y: auto;
        }

        .mobile-nav-links li a {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            color: var(--text-dark);
            text-decoration: none;
            gap: 15px;
            border-bottom: 1px solid #f5f5f5;
            transition: all 0.3s ease;
        }

        .mobile-nav-links li a:hover,
        .mobile-nav-links li a.active {
            color: var(--primary-orange);
            background: rgba(255, 107, 53, 0.05);
        }

        .mobile-nav-links li a i {
            width: 24px;
            text-align: center;
            font-size: 1.1rem;
        }

        .mobile-user-footer {
            padding: 15px 20px;
            border-top: 1px solid #eee;
            display: flex;
            gap: 15px;
        }

        .mobile-user-footer a {
            color: var(--text-dark);
            text-decoration: none;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: color 0.3s ease;
        }

        .mobile-user-footer a:hover {
            color: var(--primary-orange);
        }

        /* Features Section */
        .features-section {
            padding: 80px 0;
            background: white;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--primary-green);
            margin-bottom: 1rem;
        }

        .section-title p {
            color: var(--text-light);
            max-width: 600px;
            margin: 0 auto;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .feature-card {
            background: var(--bg-light);
            border-radius: 15px;
            padding: 30px;
            transition: all 0.3s ease;
            border: 1px solid #eee;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }

        .feature-icon {
            width: 60px;
            height: 60px;
            background: var(--primary-green);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            color: white;
            font-size: 1.5rem;
        }

        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary-green);
        }

        .feature-card p {
            color: var(--text-light);
            margin-bottom: 20px;
        }

        .feature-link {
            display: inline-flex;
            align-items: center;
            color: var(--primary-orange);
            text-decoration: none;
            font-weight: 600;
            gap: 5px;
            transition: gap 0.3s ease;
        }

        .feature-link:hover {
            gap: 10px;
        }

        /* Chatbot */
        .chatbot-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1001;
        }

        .chatbot-toggle {
            width: 60px;
            height: 60px;
            background: var(--primary-orange);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
            transition: all 0.3s ease;
            border: none;
            z-index: 1002;
        }

        .chatbot-toggle.hidden {
            opacity: 0;
            visibility: hidden;
            transform: scale(0.5);
        }

        .chatbot-toggle:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
        }

        .chatbot-window {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 350px;
            height: 450px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            display: none;
            flex-direction: column;
            overflow: hidden;
            transform-origin: bottom right;
            z-index: 1003;
        }

        .chatbot-window.active {
            display: flex;
            animation: chatOpen 0.3s ease forwards;
        }

        @keyframes chatOpen {
            0% {
                transform: scale(0.5);
                opacity: 0;
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .chatbot-header {
            background: var(--primary-green);
            color: white;
            padding: 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .chatbot-header h6 {
            margin: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .chatbot-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .chatbot-close:hover {
            transform: rotate(90deg);
        }

        .chatbot-messages {
            flex: 1;
            padding: 1rem;
            overflow-y: auto;
            background: #f8f9fa;
        }

        .chatbot-input {
            padding: 1rem;
            border-top: 1px solid #e9ecef;
            display: flex;
            gap: 0.5rem;
        }

        .chatbot-input input {
            flex: 1;
            border: 1px solid #ddd;
            border-radius: 25px;
            padding: 0.5rem 1rem;
            outline: none;
            transition: border 0.3s ease;
        }

        .chatbot-input input:focus {
            border-color: var(--primary-orange);
        }

        .chatbot-input button {
            background: var(--primary-orange);
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .chatbot-input button:hover {
            background: #e55a2b;
            transform: rotate(15deg);
        }

        .message {
            margin-bottom: 1rem;
            padding: 0.75rem 1rem;
            border-radius: 15px;
            max-width: 80%;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .message.bot {
            background: white;
            margin-right: auto;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }

        .message.user {
            background: var(--primary-orange);
            color: white;
            margin-left: auto;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-container {
                flex-direction: column;
                text-align: center;
            }
            
            .hero-subtitle {
                margin-left: auto;
                margin-right: auto;
            }
            
            .hero-cta {
                justify-content: center;
            }
            
            .hero-stats {
                justify-content: center;
            }
            
            .hero-image {
                margin-top: 40px;
            }
             .hero-image {
                width: 300px;
            }
        }

        @media (max-width: 768px) {
            .desktop-nav {
                display: none;
            }
            
            .mobile-navbar {
                display: block;
            }
            
            .modern-hero {
                padding: 100px 0 60px;
                margin-top: 70px;
            }
            
            .hero-title {
                font-size: 2.4rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .hero-cta {
                flex-direction: column;
                gap: 10px;
            }
            
            .btn-primary, .btn-secondary {
                width: 100%;
                justify-content: center;
            }
            
            .hero-stats {
                flex-wrap: wrap;
                gap: 15px;
            }
            
            .stat-item {
                min-width: calc(50% - 15px);
            }
            
            .floating-card {
                max-width: 150px;
                padding: 10px 15px;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .chatbot-window {
                width: calc(100% - 40px);
                height: 70vh;
                bottom: 10px;
                right: 10px;
            }
        }

        @media (max-width: 576px) {
            .hero-title {
                font-size: 2rem;
            }
            
            .stat-item {
                min-width: 100%;
            }
            
            .mobile-menu {
                width: 100%;
                max-width: none;
            }
        }
 
    /* Estilos para la escala de IMC */
    .imc-scale {
        position: relative;
        height: 60px;
        margin-bottom: 40px;
    }
    
    .scale-bar {
        display: flex;
        height: 20px;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .scale-segment {
        color: white;
        text-align: center;
        font-size: 0.7rem;
        padding-top: 22px;
        font-weight: 600;
        position: relative;
    }
    
    .scale-segment br {
        display: none;
    }
    
    .scale-marker {
        position: absolute;
        top: -10px;
        width: 20px;
        height: 20px;
        background-color: var(--primary-orange);
        border-radius: 50%;
        transform: translateX(-10px);
        z-index: 2;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    .scale-marker:after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid var(--primary-orange);
    }
    
    /* Responsive para la escala */
    @media (min-width: 768px) {
        .scale-segment br {
            display: initial;
        }
    }
    
    /* Animación para los resultados */
    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    #resultadosContainer.show {
        display: block !important;
        animation: fadeInUp 0.5s ease forwards;
    }



    .input-icon {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3;
    }
    
    .form-floating {
        position: relative;
    }
    
    .form-floating>label {
        padding-left: 35px;
    }
    
    .form-control, .form-select {
        padding-left: 40px !important;
        border-radius: 10px !important;
        border: 1px solid #ddd;
        transition: all 0.3s ease;
    }
    
    .form-control:focus, .form-select:focus {
        border-color: var(--primary-orange);
        box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
    }
    
    .modal-content {
        border: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    
    .btn {
        border-radius: 50px !important;
        padding: 10px 20px !important;
        font-weight: 500;
        transition: all 0.3s ease !important;
    }
    
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }


    /* Estilos para el menú de usuario */
.btn-user-menu {
    border: none;
    background: transparent !important;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn-user-menu:hover {
    color: var(--primary-orange);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), #ff8c5a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.user-name {
    font-weight: 500;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-arrow {
    font-size: 0.8rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.btn-user-menu.show .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 10px;
}

.user-dropdown .dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 0.5rem;
    width: auto;
}

.user-dropdown .dropdown-item:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
}

.user-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
}

.user-dropdown .dropdown-divider {
    margin: 0.3rem 0;
    border-color: #eee;
}



    /* Wave Divider Styles */
    .wave-divider-top {
        margin-top: -1px; /* Ensures no gap between sections */
        line-height: 0; /* Removes extra space below SVG */
    }
    
    .wave-divider-top svg {
        width: 100%;
        height: auto;
        display: block;
    }
    
    .wave-divider-bottom {
        line-height: 0;
        transform: rotate(180deg);
    }
    
    .wave-divider-bottom svg {
        width: 100%;
        display: block;
        height: 10px !important;
    }
    
    /* Section Styles */
    .evaluations-section-wave {
        position: relative;
        z-index: 1;
    }
    
    /* Keep all previous styles from the enhanced version */
    .evaluations-section-wave {
        color: var(--text-dark);
    }
    
    .text-primary-orange {
        color: var(--primary-orange) !important;
    }
    
    .text-primary-green {
        color: var(--primary-green) !important;
    }
    
    .feature-list {
        list-style: none;
        padding-left: 0;
    }
    
    .feature-list li span {
        flex: 1;
    }
    
    .benefit-card {
        border-left: 4px solid var(--primary-orange);
        transition: transform 0.3s ease;
    }
    
    .benefit-card:hover {
        transform: translateX(5px);
    }
    
    .trust-badges .badge {
        padding: 0.5em 0.8em;
        border-radius: 50px;
        font-weight: 500;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .btn-primary-orange {
        background-color: var(--primary-orange);
        border-color: var(--primary-orange);
        color: white;
        font-weight: 600;
    }
    
    .btn-primary-orange:hover {
        background-color: #e05a2b;
        border-color: #e05a2b;
    }
    
    .btn-outline-primary-green {
        border-color: var(--primary-green);
        color: var(--primary-green);
        font-weight: 600;
    }
    
    .btn-outline-primary-green:hover {
        background-color: var(--primary-green);
        color: white;
    }
    
    .evaluation-illustration {
        position: relative;
    }
    
    .floating-badge {
        position: absolute;
        padding: 0.75rem 1.25rem;
        border-radius: 50px;
        color: white;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .floating-badge.bg-primary-orange {
        background-color: var(--primary-orange);
        top: 100px;
        left: -15px;
    }
    
   
    /* Professionals Section Styles */    
    .professionals-section {
        background-color: var(--bg-light);
        color: var(--text-dark);
        position: relative;
    }
    
    .search-card, .results-card, .map-card {
        border: 1px solid rgba(0,0,0,0.1);
    }
    
    .professional-card {
        transition: all 0.3s ease;
        cursor: pointer;
        height: 100%;
    }
    
    .professional-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .map-legend {
        padding: 0.5rem 1rem;
        background-color: rgba(248, 249, 250, 0.8);
        border-radius: 8px;
    }
    
    .legend-item {
        display: flex;
        align-items: center;
    }
    
    .legend-color {
        display: inline-block;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 6px;
    }
    
    .legend-label {
        font-size: 0.8rem;
        color: var(--text-dark);
    }
    
    /* Custom Map Marker Styles */
    .custom-marker {
        position: relative;
    }
    
    .marker-pin {
        width: 30px;
        height: 30px;
        border-radius: 50% 50% 50% 0;
        position: absolute;
        transform: rotate(-45deg);
        left: 0;
        top: 0;
    }
    
    .marker-icon {
        position: absolute;
        width: 22px;
        height: 22px;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        left: 4px;
        top: 4px;
        transform: rotate(45deg);
        z-index: 1;
    }
    
    .user-marker {
        position: relative;
    }
    
    .user-pin {
        width: 24px;
        height: 24px;
        background-color: var(--primary-orange);
        border-radius: 50%;
        border: 3px solid white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    }
    
    /* Professional Popup Styles */
    .professional-popup {
        min-width: 200px;
    }
    
    .professional-popup h5 {
        color: var(--primary-green);
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .professional-popup p {
        margin-bottom: 0.3rem;
        font-size: 0.8rem;
    }
    
    .professional-popup strong {
        color: var(--text-dark);
    }
    
    /* Loading spinner */
    .loading-spinner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
        text-align: center;
    }
    
    .spinner-border {
        width: 3rem;
        height: 3rem;
        color: var(--primary-orange);
    }
    
    /* Improved card styles */
    .health-card {
        border-radius: 10px;
        overflow: hidden;
        border: none;
        box-shadow: 0 4px 8px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        background-color: #fff;
    }
    
    .health-card-header {
        padding: 15px;
        background-color: var(--primary-green);
        color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .health-card-body {
        padding: 15px;
        background-color: white;
    }
    
    .health-icon {
        font-size: 1.5rem;
        margin-right: 10px;
    }
    
    .health-distance {
        display: inline-block;
        padding: 3px 8px;
        background-color: var(--primary-orange-light);
        color: var(--primary-orange-dark);
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: bold;
    }
    
    .health-feature {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }
    
    .health-feature-icon {
        color: var(--primary-green);
        margin-right: 8px;
        width: 20px;
        text-align: center;
    }
    
    /* Responsive columns */
    @media (min-width: 768px) {
        .professional-list .col-md-6 {
            flex: 0 0 auto;
            width: 50%;
        }
    }