/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Genel Stil ve Şeffaflık Ayarları */
.language-switcher.flag-only {
    position: relative; 
    display: inline-block;
    line-height: 1; 
    font-family: Arial, sans-serif;
}

/* Aktif Buton Stili (ŞEFFAF ve Kompakt) */
.language-switcher.flag-only .lang-button {
    background-color: transparent; /* Şeffaf */
    color: #333;
    padding: 6px; /* Ok kalktığı için dolguyu azalttık */
    font-size: 14px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.language-switcher.flag-only .lang-button:hover {
    background-color: rgba(0, 0, 0, 0.05); 
}

/* YUVARLAK VE 26X26 BAYRAK AYARI */
.language-switcher.flag-only .flag-icon {
    width: 26px;         /* Genişlik 26px */
    max-width: 26px;     /* Maksimum Genişlik 26px */
    height: 26px;        /* Yükseklik 26px */
    margin-right: 0; /* Ok kalktığı için sağ boşluğu sıfırladık */
    border-radius: 50%; /* Yuvarlaklık */
    object-fit: cover; 
    box-shadow: 0 0 2px rgba(0,0,0,0.2); 
    flex-shrink: 0; 
	margin-top:-6px;
}

/* Ok simgesi kaldırıldığı için .arrow-down stili de kaldırıldı */

/* Açılır Menü (Dropdown) İçeriği - KABIN ARKA PLANI */
.language-switcher.flag-only .lang-dropdown-content {
    display: none; 
    position: absolute;
    background-color: #FFFFFF; /* Tamamen opak beyaz */
    min-width: 150px; 
    box-shadow: 0px 4px 12px 0px rgba(0,0,0,0.15); 
    z-index: 100; 
    right: 0; 
    border-radius: 4px;
    overflow: hidden; 
    border: 1px solid #eee; 
    margin-top: 5px;
    padding: 0; 
}

/* Dropdown linkleri - Tamamen Opak Arka Planlı */
.language-switcher.flag-only .lang-dropdown-content a {
    padding: 8px 12px;
    justify-content: flex-start; 
    border-bottom: 1px solid #eee; 
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 14px;
    white-space: nowrap; 
    background-color: #FFFFFF; 
}

.language-switcher.flag-only .lang-dropdown-content a:last-child {
    border-bottom: none; 
}

.language-switcher.flag-only .lang-dropdown-content a:hover {
    background-color: #f1f1f1; 
}

/* Bayrak ve metin arasındaki boşluk için burada ayar yaptık: */
.language-switcher.flag-only .lang-dropdown-content a .flag-icon {
    margin-right: 8px;
}

.language-switcher.flag-only .lang-dropdown-content a.active {
    background-color: #e0f7fa; 
    border-left: 3px solid #00bcd4; 
    padding-left: 9px; 
}

.language-switcher.flag-only .lang-dropdown-content.show {
    display: block;
}