/* Ana country-flag sınıfı için yuvarlak stil - Yeni eklendi */
.country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 30px;
    line-height: 1;
    text-align: center;
    border: 2px solid rgba(12, 224, 107, 0.3);
    /* Simplified for better emoji display */
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Ensure perfect circle */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    flex-shrink: 0;
}

/* Dark theme için country-flag stil */
body:not(.light-theme) .country-flag {
    background-color: #f0f0f0;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Light theme için country-flag stil */
body.light-theme .country-flag {
    background-color: #ffffff;
    border-color: rgba(12, 224, 107, 0.3);
}

/* Mobil düzeltmeler */
@media (max-width: 768px) {
    .country-flag {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
}

/* Additional styles to ensure flags are always circles */
.country-flag::before {
    content: '';
    display: block;
    padding-top: 100%; /* 1:1 Aspect Ratio */
}

.country-flag > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}