* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: auto;
    min-height: 100vh;
    background-color: #1d1d1d;
    color: #d3d3d3;
    font-family: 'Fira Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 40px;
    padding-bottom: 20px;
    overflow-y: auto;
}

h1 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 26px;
}

h1 .title-inline {
    display: inline;
}

h1 .title-break {
    display: none;
}

@media (max-width: 480px) {
    h1 {
        font-size: 22px;
    }

    h1 .title-inline {
        display: none;
    }

    h1 .title-break {
        display: inline;
    }
}


.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    overflow: visible;
}

#img21jet {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
}

#imgarltr {
    width: 40%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
    margin: 30px auto 0 auto;
}


.img_description {
    font-style: italic;
    text-align: center;
    color: #b5b5b5;
    font-size: 75%;
    margin: 10px auto;
    width: auto;
    display: block;
}

.doc {
    width: 75%;
    max-width: 950px;
    margin: 75px auto 0 auto;
    text-align: left;
    overflow: visible;
}

.doc_info {
    color: #b5b5b5;
    font-size: 75%;
}

#image-container {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}


#long-time-loading-message {
    color: #e7d37f !important;
    font-size: 75% !important;
    animation: softPulse 2s ease-in-out infinite;
}

@keyframes softPulse {
    0% { opacity: 0.65; }
    50% { opacity: 1; }
    100% { opacity: 0.65; }
}

img {
    width: 200px;
    height: 200px;
}

select {
    width: 200px;
    padding: 10px 12px;
    background-color: #3c3c3c;
    color: #dddddd;
    border: none;
    border-radius: 8px;
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

select:focus {
    box-shadow: 0 0 5px #1db954;
    background-color: #3c3c3c;
}


.loading {
    width: 50px;
    height: 50px;
    border: 5px solid #444;
    border-top: 5px solid #1db954;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

.error {
    color: #ff4c4c;
    margin-top: 10px;
}

#description {
    margin-top: 30px;
    font-size: 85%;
    font-style: italic;
    color: #aaaaaa;
    text-align: center;
    padding: 0 65px;
}

#mention_honorable {
    margin-top: 10px;
    font-size: 75%;
    font-style: italic;
    color: #727272;
    text-align: center;
    padding: 0 65px;
}


a {
    color: #66ccff;
    font-weight: bold;
    text-decoration: none;
}

#data-info {
    margin-top: 10px;
    margin-bottom: 15px;
    flex-direction: column;
    gap: 5px;
}

#flags-dropdown-custom {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background-color: #3c3c3c;
    color: #9f9f9f;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    height: 36px;
}

.option .tooltip {
    position: absolute;
    font-weight: normal;
    bottom: 120%;
    left: 0;
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    white-space: normal;
    box-sizing: border-box;
    z-index: 10;
}

.option:hover .tooltip {
    opacity: 1;
    transform: translateY(0);
}


.option .tooltip::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}


.option.selected {
    font-weight: bold;
    color: #c8ffb9;
}

.wifi-icon path {
  opacity: 0.3;
  transform-origin: center;
  animation: wifi-blink 1.5s infinite;
}

.wifi-icon .arc1 { animation-delay: 0s; }
.wifi-icon .arc2 { animation-delay: 0.2s; }
.wifi-icon .arc3 { animation-delay: 0.4s; }

@keyframes wifi-blink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
