@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');

html {
    background-color: #ffffff;
    font-size: 62.5%;
}

body {
    font-family: "Libre Franklin", sans-serif;
    
    font-size: 1.60rem;
    line-height: 2.80rem;
    color: rgb(46,38,42);
    font-weight: 400;
}

a:link, a:visited {
    color: #205665;
    text-decoration: underline;
  
}

a:visited {
    color: rgb(138,0,0);
    text-decoration: underline;
  
}

a:hover {
    color: #124465;
    text-decoration: underline;
}

h1 {
    font-family: "Libre Franklin", sans-serif;
    font-size: 3.60rem;
    color: rgb(138,0,0);
    font-weight: 500;
}

h2 {
    font-family: "Libre Franklin", sans-serif;
    font-size: 3.20rem;
    color: rgb(138,0,0);
    font-weight: 500;
}

img {
    border: none;
}

.panel_with_padding {
    padding: 10px;
    border: 8px solid white;
}

.responsive_width {
    width: 400px;
    max-width: 100%;
}

.responsive_width_table {
    width: 60%;
    max-width: 100%;
    table-layout: fixed;
}

    .responsive_width_table td {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }

.custom-dropdown-wrapper {
    position: relative;
    display: inline-block;
    width: 200px;
}

.custom-dropdown {
    padding: 3px;
    border: 1px solid #000;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .custom-dropdown img {
        width: 20px;
        height: 20px;
    }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    z-index: 1000;
}

    .dropdown-menu.active {
        display: block;
    }

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 3px;
    cursor: pointer;
}

    .dropdown-item:hover {
        background-color: #f0f0f0;
    }

    .dropdown-item.selected {
        background-color: #007bff;
        color: white;
    }

.flag-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

#LanguagePanel {
    display: flex;
    align-items: center;
    gap: 5px;
}

#ApplyLanguageButton {
    height: 30px;
}

.custom-dropdown::after {
    content: "";
    width: 5px;
    height: 5px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%) rotate(-45deg);
    pointer-events: none;
}


/* Parts for spinner for cmdUpload */

/* Only add this if you don't already have an .sr-only helper */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Full-page overlay used by all spinners */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    display: none; /* hidden by default; JS sets to flex */
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Center panel */
.spinner-box {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 260px;
    text-align: center;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Circular spinner */
.spinner {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 4px solid #dde3f0;
    border-top-color: #0033a0;
    animation: spin 0.9s linear infinite;
    margin-bottom: 5px;
}

.spinner-text {
    font-size: 13px;
    color: #333333;
    line-height: 1.4;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}