.flag-icon {
    display: inline-block;
    width: 24px;
    height: 18px;
    border-radius: 3px;
    margin-right: 5px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.1);
    background-size: cover;
    background-position: center;
    vertical-align: middle;
}

/* Türk Bayrağı */
.flag-tr {
    background: #E30A17;
}
.flag-tr::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    background: white;
    left: 3px;
    top: 2px;
}
.flag-tr::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    background: #E30A17;
    left: 5px;
    top: 3px;
}

/* İngiliz Bayrağı */
.flag-en {
    background: #00247D;
    overflow: hidden;
}
.flag-en::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 2px;
    background: white;
    top: 8px;
    left: -50%;
    box-shadow: 0 0 0 1px #CF142B;
}
.flag-en::after {
    content: '';
    position: absolute;
    height: 200%;
    width: 2px;
    background: white;
    left: 11px;
    top: -50%;
    box-shadow: 0 0 0 1px #CF142B;
}

/* Alman Bayrağı */
.flag-de {
    background: linear-gradient(to bottom,
        #000000 0%, #000000 33%,
        #DD0000 33%, #DD0000 66%,
        #FFCE00 66%, #FFCE00 100%);
}

/* Fransız Bayrağı */
.flag-fr {
    background: linear-gradient(to right,
        #002395 0%, #002395 33%,
        #FFFFFF 33%, #FFFFFF 66%,
        #ED2939 66%, #ED2939 100%);
}

/* İspanyol Bayrağı */
.flag-es {
    background: linear-gradient(to bottom,
        #c60b1e 0%, #c60b1e 25%,
        #ffc400 25%, #ffc400 75%,
        #c60b1e 75%, #c60b1e 100%);
}

/* İtalyan Bayrağı */
.flag-it {
    background: linear-gradient(to right,
        #009246 0%, #009246 33%,
        #FFFFFF 33%, #FFFFFF 66%,
        #CE2B37 66%, #CE2B37 100%);
}

/* Rus Bayrağı */
.flag-ru {
    background: linear-gradient(to bottom,
        #FFFFFF 0%, #FFFFFF 33%,
        #0039A6 33%, #0039A6 66%,
        #D52B1E 66%, #D52B1E 100%);
}

/* Arap Bayrağı (Suudi Arabistan temalı yeşil) */
.flag-ar {
    background: #006C35;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    font-weight: bold;
}
.flag-ar::after {
    content: 'AR';
} 