/* =========================
   PT GEO MODAL STYLES
========================= */

#ptGeoModal .modal-content {
    border-radius: 12px;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

#ptGeoModal .modal-header {
    background: #f99839;
    color: #fff;
    border-bottom: none;
}

#ptGeoModal .modal-title {
    font-weight: 600;
    font-size: 18px;
}

#ptGeoModal .btn-close {
    filter: invert(1);
    opacity: 0.9;
}

#ptGeoModal .modal-body {
    padding: 20px;
    font-size: 15px;
    color: #333;
}

#ptGeoModal .modal-footer {
    border-top: none;
    padding: 15px 20px 20px;
}

/* Primary button */
#ptGeoModal .btn-primary {
    background: #f99839;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
}

#ptGeoModal .btn-primary:hover {
    background: #005f8d;
}

/* Secondary button */
#ptGeoModal .btn-secondary {
    background: #eee;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
}

#ptGeoModal .btn-secondary:hover {
    background: #ddd;
}

/* =========================
   COUNTRY SWITCHER DROPDOWN
========================= */

.pt-geo-switcher {
    max-width: 220px;
    border-radius: 6px;
}

/* =========================
   FLAG SWITCHER UI
========================= */

.pt-geo-flags {
    align-items: center;
}

.pt-geo-flag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;
}

.pt-geo-flag-item:hover {
    transform: translateY(-2px);
    border-color: #f99839;
    color: #f99839;
}

.pt-geo-flag-item.active {
    background: #f99839;
    color: #fff;
    border-color: #f99839;
}


.btn-country-button{
    background: #f99839;
    padding: 2px 10px;
    border-radius: 50px;
}
.btn-country-button .country-flag{
    width:15px
}
.pt-country-switcher .dropdown-item.active {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: #f99839;
}
/* Mobile responsiveness */
@media (max-width: 768px) {

    .pt-geo-flags {
        flex-direction: column;
        align-items: flex-start;
    }

    .pt-geo-flag-item {
        width: 100%;
    }
    .btn-country-button .country-name{
    font-size: 10px;
    line-height: 10px;
}
.btn-country-button {
    background: #f99839;
    padding: 0px 5px;
    border-radius: 50px;
    gap:.25rem !important;
}
.btn-country-button .country-flag {
    width: 10px;
}
.btn-country-button.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0em;
    vertical-align: 0em;
    content: "";
    border-top: .2em solid;
    border-right: .2em solid #fff0;
    border-bottom: 0;
    border-left: .2em solid #fff0;
}
}