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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
  color: white;
  background: var(--bg-darkest);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  
  /* height: 100vh; */
  width: 100vw;
  overflow: hidden;
  position: fixed;
}


/**********/
/* NAVBAR */
/**********/

.simple-layout-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #2d1f54 0%, #2b2473 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 10;
}

.simple-layout-logo {
  font-size: 22px;
  padding: 8px 12px;
  font-weight: 700;
  color: white;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.simple-layout-logo-icon {
  width: 26px;
  height: 26px;
  padding: 0;
  vertical-align: -6px;
  margin-right: 8px;
}

.simple-layout-logo-image {
  height: 26px;
  padding: 0;
  vertical-align: -6px;
}

.simple-layout-logout-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  background: var(--white-10);
  padding: 0.6rem 0.8rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease;
  margin-right: 12px;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.simple-layout-logout-button i {
  position: relative;
  top: 1px;
}

.simple-layout-logout-button:active {
  transform: scale(0.95);
}

.simple-layout-back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  background: var(--white-10);
  padding: 0.6rem 0.8rem;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease;
  margin-right: 12px;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.simple-layout-back-button i {
  position: relative;
  top: 1px;
}

.simple-layout-back-button:active {
  transform: scale(0.95);
}


/*******************/
/* LOADING OVERLAY */
/*******************/

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.loading-overlay.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 10px solid var(--white-20);
  border-radius: 50%;
  border-top-color: var(--primary-purple);
  animation: spin 1s linear infinite;
}

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

.loading-text {
  color: var(--white-50);
  font-size: 0.8rem;
  margin-top: 1rem;
}


/***********/
/* CONTENT */
/***********/

.simple-layout-content {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 0rem;
}

.context-prompt {
  margin-top: 2rem;
  margin-bottom: 0.4rem;
  text-align: center;
  color: var(--white-70);
  font-size: 0.9rem;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.context-prompt a {
  color: var(--primary-purple-light);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.context-prompt a:active {
  color: var(--primary-purple);
}