body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    font-size: 12px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.background {
    height: 100vh;
    width: 100vw;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #040615;
}

.main {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    overflow: auto;
}

.main-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main-wrapper {
    padding: 30px;
}

.file-button-bar {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

file-button {
    display: flex;
    justify-content: center;
    position: relative;
    color: #fff;
    margin: 5px;
    user-select: none;
}

file-button:hover .text {
    opacity: 1;
}

file-button .text {
    display: block;
    position: absolute;
    white-space: nowrap;
    top: 100%;
    text-align: center;
    padding: 10px 0;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

file-button i {
    padding: 0 10px;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

file-button input[type="file"] {
    position: absolute;
    display: block;
    -webkit-appearance: none;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

file-button.disabled {
    color: #adadad;
    cursor: not-allowed;
}

file-button.disabled i {
    cursor: not-allowed;
}

file-button.disabled input[type="file"] {
    display: none;
}

@media (max-width: 414px) {
    jsgbc-ui #inner.jsgbc-ui-inner.jsgbc-ui {
        width: 100vw;
        height: 100vh;
        min-width: auto;
        min-height: 709px;
        max-width: none;
        max-height: 709px;
    }
    .main-wrapper {
        padding: 0;
    }
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65); 
    z-index: 9999;
    display: none;
  }

  #overlay.visible {
    display: block;
  }

  .overlay-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  #closeOverlayBtn {
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }

  .loadbutton{display: block; margin: 0 auto; padding: 10px 20px; font-size: 16px; font-weight: bold; text-align: center; text-decoration: none; border-radius: 4px; cursor: pointer; transition: background-color 0.3s ease; color: #fff; background-color: #007bff; border: none;}