/* Foundation Layer Styles */

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

html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: transparent;
  /* Let wallpaper show through or be the background */
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

body {
  font-family: var(--eden-font-family-base);
  /* Use Eden background - foundation is the lowest Z layer */
  background: var(--eden-color-bg-primary);
  color: var(--eden-color-text-primary);
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#foundation-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

#wallpaper-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: black;
  /* Fallback */
}

.wallpaper-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.6s ease-in-out;
}

#wallpaper-bg {
  z-index: 1;
  opacity: 1;
  background: linear-gradient(135deg, #1e1e2e 0%, #1a1b26 100%);
  /* Default match */
}

#wallpaper-fg {
  z-index: 2;
  opacity: 0;
}

#workspace {
  flex: 1;
  position: relative;
  z-index: 1;
  /* Transparent to allow views to show through */
  background: transparent;
  /* Don't capture pointer events - let app views handle them */
  pointer-events: none;
  padding-bottom: 0;
  box-sizing: border-box;
}
