.ats_region_modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    padding-top: 60px;
}

.ats_region_modal_content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.ats_region_modal_content h2 {
    margin-bottom: 20px !important;
    font-size: 24px;
    font-weight: 700 !important;
    line-height: 1.4;
    color: #242424  !important;
}

.ats_region_modal_content p{
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 20px;
    color: #777777;
	text-align: left;
}


.ats_region_modal_highlight {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -20%);
    background-color: #fefefe;
    padding: 20px;
    border: 2px solid #dd0513;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
}

.ats_region_modal_highlight_border {
    border: 2px solid #dd0513;
    border-radius: 5px;
    padding: 5px;
    background-color: #fefefe; /* Arka plan rengini beyaz yap */
}

#ats_region_modal_highlight_ok {
    background-color: #dd0513;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#ats_region_modal_highlight_ok:hover {
    background-color: #dd0513;
}

#ats_region_modal_save_country {
    background-color: #dd0513;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#ats_region_modal_save_country:hover {
    background-color: #dd0513;
}

#ats_region_modal_cancel{
    background-color: #f9f9f9;
    color: #222020;
    padding: 10px 20px;
    border: 1px solid #dd0513;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 20px;
}

#ats_region_modal_cancel:hover{
    background-color: #dd0513;
    color: #FFF;
}

#ats_region_modal_overlay {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    align-items: center;
}

.ats_region_modal_pulse {
    animation: ats_region_modal_pulse_animation 1.5s infinite; /* Süreyi 1.5 saniye yap */
}

@keyframes ats_region_modal_pulse_animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15); /* Büyüme oranını 1.15 yap */
    }
    100% {
        transform: scale(1);
    }
}



.flag-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.flag-option {
    cursor: pointer;
    text-align: center;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.flag-option:hover {
    background-color: #f0f0f0;
}

.flag-option.selected {
    border-color: #dd0513;
    background-color: #fff0f0;
}

.flag-option img {
    max-width: 70px;
    height: auto;
    margin-bottom: 5px;
    border: 1px solid #c9c9c9;
}

.flag-option span {
    display: block;
    font-size: 10px;
}

/*YENI*/
.flag-option {
    position: relative;
}

.flag-option.selected {
    border-color: #dd0513;
    background-color: #fff0f0;
}

.flag-option.selected::after {
    content: "\2713";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #087dcc;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
}

.ats_region_modal_language_label {
    text-align: left;
    margin-bottom: 6px !important;
}

#ats_region_modal_language_select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #333;
    font-size: 13px;
}

.ats_region_modal_text{
    text-align: left;
    line-height: 20px !important;
    font-size: 14px;
    font-weight: 400;
    color: #777777;
    margin-bottom: 20px !important;
}


/*Responsive mobile chihazlar icin */
@media (max-width: 768px) {
    .ats_region_modal_content {
        width: 90%;
    }

    .ats_region_modal_content h2 {
        font-size: 18px;
    }
    
    .flag-option img {
        width: 60px;
    }
    
    .flag-option span {
        font-size: 12px;
    }
    
    .ats_region_modal_content p {
        font-size: 14px;
    }
    
    #ats_region_modal_language_select {
        font-size: 12px;
    }
    
    #ats_region_modal_cancel {
        margin-left: 20px;
        font-size: 14px;
        padding: 12px 14px;
    }
    
    #ats_region_modal_save_country {
        padding: 12px 14px;
        font-size: 14px;
    }

}