:root {
  --primary-color: #991111;
  --secondary-color: rgba(0, 0, 0, 0.8);
  --text-color: #ddd;
  --font-family: 'Roboto Condensed', Arial, sans-serif;
}

body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  background-color: #333;
  color: #f2f2f2;
  overflow: hidden;
  text-align: center;
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  background: linear-gradient(45deg, #1a1a1a, #333);
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.headerTitle {
  margin: 0;
}

.widget-container {
  border: 1px solid #555;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  background-color: #1a1a1a;
}

.JeelizVTOWidgetControlsTop {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.JeelizVTOWidgetControls button {
  cursor: pointer;
  background: var(--secondary-color);
  color: #f2f2f2;
  font-weight: bold;
  font-variant: small-caps;
  font-size: 16px;
  padding: 8px 12px;
  min-width: 120px;
  border: none;
  -webkit-appearance: none;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.JeelizVTOWidgetControls button:hover {
  background-color: #333;
}

.adjust-notice {
  background-color: #444;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  color: #f2f2f2;
}

.JeelizVTOWidgetBottomButton {
  margin-top: 10px;
  background-color: #dc3545;
}

.loading-widget {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  background-color: #222;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.JeelizVTOWidgetLoadingText {
  font-size: 16px;
  color: #ccc;
  text-align: center;
}

.spinner-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle {
  width: 12px;
  height: 12px;
  margin: 0 4px;
  background-color: #007bff;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

/* Additional styles from the original CSS */
#JeelizVTOWidget {
  flex-grow: 1;
  width: 100%;
  max-width: calc(100vh - 70px);
  margin: 0 auto;
  position: relative;
  background-color: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#JeelizVTOWidgetCanvas {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  margin: 0 auto;
}

#JeelizVTOWidgetControls {
  position: absolute;
  z-index: 2;
  width: 100%;
}

.buttonIcon {
  display: inline-block;
  margin-right: 8px;
}

#JeelizVTOWidgetControlsTop > button {
  width: 45%;
  min-width: auto;
}

#JeelizVTOWidgetChangeModelContainer {
  bottom: 16px;
  height: 40px;
  display: flex;
  justify-content: space-between;
}

#JeelizVTOWidgetChangeModelContainer > button {
  width: 20%;
  min-width: auto;
}

#JeelizVTOWidgetLoading {
  position: fixed;
  z-index: 4;
  cursor: wait;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}

#JeelizVTOWidgetAdjustNotice {
  width: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  z-index: 3;
  font-size: 16px;
  bottom: 0;
  justify-content: center;
  padding-top: 2em;
  padding-bottom: 2em;
  display: none;
}

#JeelizVTOWidgetAdjustExit {
  border: 1px solid white;
  background: transparent;
  position: absolute;
  right: 8px;
  bottom: 8px;
}

/* Hide everything, stuff will be displayed by JeelizVTOWidget: */
#JeelizVTOWidgetAdjust,
#JeelizVTOWidgetChangeModelContainer,
#buttonResizeCanvas {
  display: none;
}
