* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background:
    radial-gradient(1200px 600px at top, #24307a, #070912),
    linear-gradient(180deg, #0a0f2a, #05070f);
  color: white;
  font-family: Arial, sans-serif;
}

.app {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 1300px;
  height: 96%;
  padding: 36px;
  display: flex;
  flex-direction: column;
  background: rgba(25, 32, 75, 0.45);
  backdrop-filter: blur(28px) saturate(140%);
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 0 80px rgba(77,163,255,0.25);
}

/* TITLE */
h1 {
  text-align: center;
  font-size: 3.6rem;
  margin: 6px 0 10px;
}
.open {
  color: white;
  text-shadow: 0 0 22px rgba(255,255,255,0.9);
}
.space {
  color: #4da3ff;
  text-shadow: 0 0 26px rgba(77,163,255,1);
}

/* VERSION */
#envLabel {
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 2px;
  opacity: 0.8;
}

/* INPUTS */
input, button {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  font-size: 1.05rem;
  border: none;
}
input {
  background: rgba(255,255,255,0.10);
  color: white;
}
button {
  background: linear-gradient(135deg, #4da3ff, #6bb7ff);
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 26px rgba(77,163,255,0.75);
}

/* CHAT */
.messages-box {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
  margin-bottom: 18px;
  background: rgba(12, 16, 45, 0.55);
  backdrop-filter: blur(22px);
  border-radius: 20px;
}

.message {
  display: flex;
  margin-bottom: 22px;
}

.message-content {
  background: rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px 20px;
  width: 100%;
}

.message.ai .message-content {
  background: rgba(77,163,255,0.18);
  border: 1px solid rgba(77,163,255,0.45);
  box-shadow: 0 0 24px rgba(77,163,255,0.35);
}

.username {
  font-weight: 700;
  margin-bottom: 6px;
}

.send-box {
  display: flex;
  gap: 12px;
}

/* CALENDAR */
.calendar {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.day {
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 12px;
}

.day h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  opacity: 0.85;
}

.event {
  background: rgba(77,163,255,0.25);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 6px;
  font-size: 0.85rem;
}



