/* LOADING OVERLAY */
  #loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9910;
  }

  /* Container for spinner + text */
  .loading-content {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
  }

  /* SMALL SPINNER */
  .spinner {
    width: 30px; 
    height: 30px;
    border: 4px solid #ddd;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  @keyframes spin {
    100% { transform: rotate(360deg); }
  }

/* Overlay Container */
.overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 428px; /* Adjust width as needed */
    background-color: white; /* White background for overlay content */
    transform: translateX(100%); /* Initially off-screen to the right */
    transition: transform 0.3s ease-in-out; /* Slide animation */
    padding: 24px;
    z-index: 9902; /* Overlay content on top */
}

/* Background to darken content */
.overlay-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    z-index: 9901; /* Behind the overlay content */
    visibility: hidden; /* Hidden by default */
    transition: visibility 0.3s ease-in-out;
}

.overlay-content {
    color: #1f1f1f!important;
    font-family: 'DIN Round Pro';
    font-size: 16px;
    overflow-y: scroll;
    max-height: calc(100% - 90px);
    padding-bottom: 30px;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.overlay-content::-webkit-scrollbar-thumb {
    background: transparent;
}

.overlay-content::-webkit-scrollbar-track {
    background: transparent;
}

.overlay-content table tr ul {
    line-height: 24px;
}

.overlay h2 {
    font-family: 'DIN Round Pro Bold';
    font-size: 21px;
    text-align: center;
    color: #1f1f1f!important;
    margin-top: 45px;
}

/* Show the overlay and background (triggered by adding the .active class) */
.overlay.overlay-active {
    transform: translateX(0); /* Slide in from the right */
}

.overlay-background.active {
    visibility: visible; /* Show the background when active */
}

.close-btn-wrapper {
    display: flex;
    justify-content: flex-end;
}

/* Close Button in the upper-right corner */
.close-btn {
    background-color: transparent;
    border: none;
    color: #1f1f1f;
    font-size: 30px;
    cursor: pointer;
    z-index: 1002; /* Make sure the close button is on top */
}

.close-btn:focus {
    outline: none;
}

.overlay-content-container{
    height: calc(100% - 70px);
    padding: 0 24px;
}

/* Table Styling */
.overlay-content table {
    width: 100%;
    border-collapse: collapse;
}

.overlay-content thead tr {
    position: sticky;
    top: 0; /* Stick to the top of the viewport */
    z-index: 9903;
    background-color: white;
}

.overlay-content th, .overlay-content td {
    text-align: left;
    padding: 10px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.overlay-content th {
    font-family: 'DIN Round Pro Bold', arial, sans-serif !important;
}

.overlay-content td {
    vertical-align: top;
}

.overlay-content td:first-child {
    max-width: 164px;
    padding-right: 14px;
}

.overlay-content thead tr, tbody tr:not(:last-child) {
    border-bottom: 1px solid #f1f1f1; /* Faded horizontal borders */
}

.img-country{
    width: 22px;
    height: 15px;
}


@media screen and (max-width: 767px){
    .overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        background-color: white; /* White background for overlay content */
        transform: translateY(100%); /* Initially off-screen to the right */
        transition: transform 0.3s ease-in-out; /* Slide animation */
        padding: 20px 24px;
        z-index: 9999; /* Overlay content on top */
        border-radius: 20px 20px 0 0;
    }

    .overlay.overlay-active {
        transform: translateY(54px); /* Slide in from the right */
    }

    .overlay-content-container{
        height: calc(100% - 100px);
        padding: 0;
        overflow-y: hidden;
    }

    .overlay-content {
        padding-bottom: 55px;
    }

    #roadshow-overlay .overlay-content {
        padding-bottom: 75px;
    }

    .close-btn {
        font-size: 40px;
    }
}

.country-info {
    display: flex;
    flex-direction: column; /* Stack content vertically */
}

.main-info {
    display: flex;
    align-items: center; /* Align flag and name horizontally */
    gap: 10px;
    font-size: 16px;
}

.additional-info {
    font-size: 12px;
    color: #727272;
    margin-top: 8px;
}

#fiveg-devices-overlay li::marker {
  font-size: 14px;
}
