.custom-navbar {
    background: rgba(15, 17, 19, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
}

/* Estilo unificado para los submenús */
.custom-dropdown {
    background: rgba(15, 17, 19, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    padding: 10px !important;
    margin-top: 15px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5) !important;
    min-width: 180px !important;
    overflow: hidden;
}

.custom-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.7) !important;
    border-radius: 10px !important;
    padding: 10px 15px !important;
    margin-bottom: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex;
    align-items: center;
}

.custom-dropdown .dropdown-item:last-child {
    margin-bottom: 0;
}

.custom-dropdown .dropdown-item:hover {
    background: rgba(13, 110, 253, 0.15) !important;
    color: #0d6efd !important;
    transform: translateX(8px);
}

.custom-dropdown .dropdown-item i {
    font-size: 1.1rem;
    color: #0d6efd;
}

/* Flecha del dropdown más elegante */
.dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Ajuste para que el dropdown no flote demasiado lejos en móvil */
@media (max-width: 991px) {
    .custom-dropdown {
        background: rgba(255, 255, 255, 0.05) !important;
        margin-top: 5px !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .custom-dropdown .dropdown-item:hover {
        transform: translateX(5px);
    }
}

/* ESTILO PREMIUM PARA BANDERAS */
.flag-icon {
    border-radius: 4px; /* Bordes redondeados */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Sombra para profundidad */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borde sutil como tus cards */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dropdown-item:hover .flag-icon {
    transform: scale(1.1); /* Efecto pop al pasar el ratón */
    border-color: #0d6efd;
}
