.language-selector {
    position: relative;
    font-family: -apple-system, sans-serif;
}

.current-language {
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.current-language:hover {
    background: rgba(0,0,0,0.05);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 8px 0;
    min-width: 140px;
    margin-top: 8px;
    list-style: none;
}

.language-item {
    width: 100%;
    padding: 8px 16px;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.language-item:hover {
    background: #f5f5f5;
}

.flag-img {
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.active .language-item {
    background: #f8f9fa;
    font-weight: 500;
}

/* Change Input Auto Fill Color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: all 5000s ease-in-out 0s;
  transition-property: background-color, color;
}