/* Flag styles */
.country-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: #f5f5f5; /* Light background for flags with transparency */
}

.flag-small {
    width: 2rem;
    height: 1.5rem;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    border-radius: 2px;
}

[dir="rtl"] .flag-small {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* Hero section flag container */
.flag-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-color: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
}

/* Flag hover effect */
.flag-container img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
