/* Write your css codes here */
.country-flag {
    position: relative;
    display: inline-block;
}

.country-flag span {
    display: inline-block;
    width: 24px;
    height: 16px;
    background-size: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-flag:hover span {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.country-flag::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px; /* Adjust as needed */
    padding: 5px 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.custom-font-size{
    font-size: 18px !important;
}
.country-flag:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px); /* Move tooltip up slightly */
}
.modal {
    background: rgba(255, 255, 255, 0.8);
}
.modal-backdrop {
    display: none;
}
.country-flag::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.7) transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.country-flag:hover::before {
    opacity: 1;
}

    .progress-container {
    margin-bottom: 1.5rem;
}
.progress-label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.progress-bar-container {
    height: 10px;
    background-color: #e9ecef;
    border-radius: 0.25rem;
}
.progress-bar-fill {
    height: 100%;
    border-radius: 0.25rem;
}
.filter-card {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.filter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.filter-card.active {
    border: 2px solid #007bff;
}