body {
    padding: 0;
    margin: 0;
    background-color: black;
    background: url('background.png') repeat-x center;
    background-size: auto 100%;
}

#unity-container {
    position: fixed;
    width: 100%;
    height: 100%;
}

#unity-canvas {
    width: 100%;
    height: 100%;
    background: url('background.png') repeat-x center;
    background-size: auto 100%;
}

#unity-loading-bar {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none
}

#unity-logo {
    width: 400px;
    height: 253px;
    background: url('unity-logo-light.png') no-repeat center
}

#unity-progress-bar-empty {
    margin-left: auto;
    margin-right: auto;
    width: 400px;
    height: 22px;
    margin-top: 10px;
    background: url('progress-bar-empty-light.png') no-repeat center
}
/* Add to your CSS file or <style> block */
.ios-fullscreen {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #000; /* or your game background */
  z-index: 9999;
  overflow: hidden;
}
    
#unity-progress-bar-full {
    width: 0%;
    height: 22px;
    margin-top: 10px;
    margin-left: 10px;
    background: url('progress-bar-full-light.png') no-repeat center
}

#unity-warning {
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translate(-50%);
    background: white;
    padding: 10px;
    display: none
}

 html, body, #unity-container, #unity-canvas, canvas, 
  #unity-loading-bar, #unity-logo, #unity-warning, #unity-progress-bar,
  img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }

  /* Loading/logo images should not eat pointer events */
  #unity-logo img, #unity-progress-bar img, .unity-img, .no-save {
    pointer-events: none;
  }

/* React Form Overlay Styles */
.react-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.react-form {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.react-form input {
    margin: 10px 0;
    padding: 10px;
    width: 100%;
}

.react-form button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.react-form button:hover {
    background-color: #0056b3;
}
