/* Background image with overlay styles */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/water-ripples.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.5; /* Reduced opacity to make background image darker */
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(167, 243, 237, 0.5));
  mix-blend-mode: overlay;
  transition: background var(--transition-medium);
}

/* Dark theme overlay */
body.focus-theme .background-overlay {
  background: linear-gradient(135deg, rgba(5, 49, 51, 0.5), rgba(0, 169, 157, 0.3));
  mix-blend-mode: multiply;
}

/* Dashboard container with semi-transparent background for better readability */
.dashboard-container {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(5px);
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition-medium);
}

body.focus-theme .dashboard-container {
  background-color: rgba(7, 66, 68, 0.7);
}

/* Card backgrounds with appropriate colors for each theme */
.applet-card, .daily-ripple-card, .mood-suggestions {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  transition: background-color var(--transition-medium);
  box-shadow: var(--shadow-md);
}

body.focus-theme .applet-card,
body.focus-theme .daily-ripple-card,
body.focus-theme .mood-suggestions {
  background-color: rgba(7, 66, 68, 0.7);
}
