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

body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #000000;
  color: #ffffff;
  min-height: 100vh;
}

.view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hidden {
  display: none !important;
}

#settings-form {
  width: 100%;
  max-width: 28rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.form-group input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.4);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.submit-btn {
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  font-weight: 300;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 1rem;
  font-family: inherit;
}

.submit-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

#dashboard-view {
  position: relative;
}

.settings-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.5rem;
}

.settings-btn:hover {
  color: rgba(255, 255, 255, 0.6);
}

.progress-container {
  width: 100%;
  max-width: 80rem;
}

.progress-item {
  margin-bottom: 4rem;
}

.progress-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.progress-bar-container {
  width: 100%;
}

.progress-bar-bg {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  transition: width 0.1s linear;
  position: absolute;
  top: 0;
  left: 0;
}

.life-bg {
  background-color: rgba(255, 255, 255, 0.05);
  height: 2rem;
}

.life-fill {
  background-color: rgba(239, 68, 68, 0.7);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.6);
}

.life-percent {
  font-size: 1.125rem;
  margin-top: 0.75rem;
  color: #ffffff;
  font-weight: 500;
}

.day-bg {
  background-color: rgba(255, 255, 255, 0.05);
  height: 1.5rem;
}

.day-fill {
  background-color: rgba(34, 211, 238, 0.7);
  box-shadow: 0 0 25px rgba(34, 211, 238, 0.5);
}

.day-percent {
  font-size: 1rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.month-bg {
  background-color: rgba(255, 255, 255, 0.05);
  height: 1.25rem;
}

.month-fill {
  background-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

.month-percent {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.year-bg {
  background-color: rgba(255, 255, 255, 0.05);
  height: 1rem;
}

.year-fill {
  background-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.year-percent {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}
