/* Feature Buttons – Neumorphic, circular, with gradient background */
/* Update your HTML so that each feature button contains two elements with classes "feature-icon" and "feature-text" */
.feature-button {
    /* Acts as a container for the icon and text */
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    cursor: pointer;
    outline: none;
}

.feature-button .feature-icon {
    /* Circular dark frosted glass icon */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-button .feature-text {
    /* Text styled like the date buttons, placed underneath the icon */
    margin-top: 8px;
    font-size: 12px;
    color: #fff;
    font-family: 'Helvetica Neue', sans-serif;
}

/* Date Buttons – Frosted glass style */
.date-button {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    margin: 10px;
    padding: 12px 20px;
    cursor: pointer;
    outline: none;
    font-family: 'Helvetica Neue', sans-serif;
}

/* Layout containers */
.toggles {
    position: fixed;
    bottom: 2em;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10000;
    overflow: auto;
}

.date-select {
    position: fixed;
    top: 70px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10000;
    overflow: auto;
}

#loading {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  z-index: 100000;
}

#loading.visible {
  display: flex;
}

.spinner {
  border: 8px solid rgba(255, 255, 255, 0.3);
  border-top: 8px solid #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  z-index: 100000;
}

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

/* Title styling – top center with frosted glass style */
.ui h1 {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 10px 20px;
    color: #fff;
    font-size: 20px;
    z-index: 10001;
    font-family: 'Helvetica Neue', sans-serif;
}

/* Apply a common font family for all UI elements */
.ui, .ui h1, .date-button {
    font-family: 'Helvetica Neue', sans-serif;
}

.a-enter-vr {
    bottom: 40px !important;
    right: 40px !important;
    top: auto !important;
    left: auto !important;
    z-index: 100001; /* Ensure it appears above your UI if needed */
}

.back-button {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    z-index: 10002;
}
.back-button:hover {
    background: rgba(0, 0, 0, 0.7);
}