/* ==============================
   GLOBAL STYLES
============================== */
body {
  margin: 0;
  background-color: black;
  color: white;
  font-family: system-ui, sans-serif;
  overflow-y: scroll;
}

.title {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 2rem;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 2rem;
}


/* ==============================
   BIG BOXES (BB)
============================== */
.big-box {
  width: 80%;
  min-height: 45vh;
  background-color: #222;
  border-radius: 12px;
  border: 2px solid #444;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.box-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.minimize-btn {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 4px;
  background-color: #ccc;
  cursor: pointer;
}

.big-box.minimized {
  min-height: auto;
  height: auto;
  overflow: hidden;
  padding-bottom: 0.5rem;
}


.big-box.minimized .medium-container {
  display: none;
}


/* ==============================
   MEDIUM BOXES (MB)
============================== */
.medium-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  width: 100%;
}

.medium-box {
  background-color: #333;
  border: 1px solid #555;
  border-radius: 8px;
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0.5rem;
}

.medium-title {
  font-size: 1rem;
  text-align: center;
  margin: 0;
}


/* ==============================
   SMALL BOXES (SB)
============================== */
.small-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.5rem;
  justify-content: center;
}

.small-box {
  min-width: 4rem;
  min-height: 2.5rem;
  padding: 0.2rem 0.4rem;
  background-color: #555;
  border: 1px solid #777;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  text-align: center;
  flex: 0 1 auto;
  word-wrap: break-word;
}

.small-box.completed {
  background-color: #0a3;
  border-color: #090;
}


/* ==============================
   TOOLTIP STYLING
============================== */
.tooltip {
  position: absolute;
  background-color: #444;
  color: white;
  border: 1px solid #666;
  border-radius: 8px;
  padding: 0.5rem;
  width: 200px;
  z-index: 100;
  pointer-events: none;
  display: none;
}

.tooltip-header {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.tooltip-subheader {
  font-weight: bold;
  font-size: 0.95rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.tooltip-divider {
  width: 95%;
  border: 0;
  border-top: 1px solid #777;
  margin: 0.25rem auto;
}

.tooltip-list {
  margin: 0.3rem 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
  list-style-type: disc;
}

.tooltip-list li {
  margin-bottom: 0.25rem;
  line-height: 1.2;
}