/* Navigation Bar Language Dropdown Fix */

/* Hide the messy language text completely */
.nav-auth .language-selector:not(.language-dropdown-clean) {
    display: none !important;
}

/* Create clean language dropdown */
.language-dropdown-clean {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
}

.language-dropdown-clean .dropdown-toggle {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 8px;
    color: #14b8a6;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: space-between;
}

.language-dropdown-clean .dropdown-toggle:hover {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.5);
}

.language-dropdown-clean .dropdown-toggle:focus {
    background: rgba(20, 184, 166, 0.2);
    border-color: #14b8a6;
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}

.language-dropdown-clean .dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-dropdown-clean.open .dropdown-arrow {
    transform: rotate(180deg);
}

.language-dropdown-clean .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
}

.language-dropdown-clean.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown-clean .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 12px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 14px;
}

.language-dropdown-clean .dropdown-item:hover {
    background: rgba(20, 184, 166, 0.2);
    color: #14b8a6;
}

.language-dropdown-clean .dropdown-item.active {
    background: rgba(20, 184, 166, 0.3);
    color: #14b8a6;
    font-weight: 600;
}

.language-dropdown-clean .dropdown-item .flag {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Fix navigation spacing */
.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Voice Oracle Button Fix */
.voice-oracle-btn {
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.voice-oracle-btn:hover {
    background: rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.5);
    transform: scale(1.05);
    color: #14b8a6;
}

.voice-oracle-btn i {
    font-size: 16px;
}

/* Login and Get Started buttons */
.btn-outline {
    background: transparent;
    border: 1px solid rgba(20, 184, 166, 0.5);
    color: #14b8a6;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-outline:hover {
    background: rgba(20, 184, 166, 0.1);
    border-color: #14b8a6;
    color: #14b8a6;
}

.btn-primary {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d9488, #0f766e);
    transform: translateY(-2px);
    color: white;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-auth {
        gap: 0.5rem;
    }
    
    .language-dropdown-clean .dropdown-toggle {
        min-width: 100px;
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .language-dropdown-clean .dropdown-item {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* Scrollbar styling for dropdown */
.language-dropdown-clean .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.language-dropdown-clean .dropdown-menu::-webkit-scrollbar-track {
    background: rgba(20, 184, 166, 0.1);
    border-radius: 3px;
}

.language-dropdown-clean .dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(20, 184, 166, 0.5);
    border-radius: 3px;
}

.language-dropdown-clean .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(20, 184, 166, 0.7);
}

