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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  min-height: 100vh;
  color: #333;
  line-height: 1.6;
  padding-top: 80px; /* Account for fixed header */
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease, background 0.3s ease;
  transform: translateY(0);
}

.header.hidden {
  transform: translateY(-100%);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  padding: 12px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.header.scrolled .logo {
  width: 36px;
  height: 36px;
  font-size: 18px;
}

.nav-brand h1 {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.header.scrolled .nav-brand h1 {
  font-size: 24px;
}

.tagline {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.header.scrolled .tagline {
  font-size: 13px;
  opacity: 0.8;
}

/* Main Content */
.main-content {
  padding: 40px 0 60px 0;
}

.welcome-section {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.welcome-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #fef7ed;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
  letter-spacing: -1px;
  line-height: 1.1;
}

.welcome-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 60px;
  padding: 0 20px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: white;
  padding: 18px 36px;
  border-radius: 16px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
  min-width: 180px;
  justify-content: center;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
  gap: 32px;
  align-items: start;
}

.thrive-grid {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.card-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.card-header h3 i {
  color: #667eea;
  font-size: 1.3rem;
}

.card-header p {
  color: #666;
  font-size: 15px;
  margin: 0;
  font-weight: 500;
}

.card-content {
  margin-top: 0;
}

/* Buttons */
.btn {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
}

.btn-secondary:hover {
  box-shadow: 0 8px 25px rgba(240, 147, 251, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.btn-success:hover {
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

.btn-small {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 8px;
}

/* Timer Styles */
.timer-display {
  text-align: center;
  position: relative;
  margin-bottom: 40px;
  padding: 20px;
}

.timer-circle {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.timer-text {
  font-size: 3.5rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
  font-family: "SF Mono", Monaco, "Cascadia Code", monospace;
  letter-spacing: -2px;
}

.timer-status {
  color: #667eea;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.progress-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.progress-svg {
  transform: rotate(-90deg);
}

.progress-bg {
  fill: none;
  stroke: #f0f0f0;
  stroke-width: 8;
}

.progress-bar {
  fill: none;
  stroke: url(#gradient);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 565.48;
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.timer-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.timer-controls .btn {
  min-width: 120px;
}

.timer-stats {
  text-align: center;
  color: #666;
  font-size: 15px;
  font-weight: 500;
  padding: 16px;
  background: rgba(102, 126, 234, 0.08);
  border-radius: 12px;
}

/* Chat Styles */
.chat-container {
  height: 450px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 85%;
}

.user-message {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.bot-avatar {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.user-avatar {
  background: linear-gradient(135deg, #f093fb, #f5576c);
}

.message-content {
  background: white;
  padding: 16px 20px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.user-message .message-content {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
}

.chat-input {
  display: flex;
  gap: 12px;
  padding: 20px;
  background: white;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.chat-input input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.chat-input input:focus {
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Stats and Progress */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.input-group {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.input-group input,
.input-group select {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
  background: #fafbfc;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Water Tracker */
.water-display {
  text-align: center;
  margin-bottom: 32px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
  border-radius: 20px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.water-icon {
  font-size: 4.5rem;
  color: #667eea;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

.water-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 8px;
  font-family: "SF Mono", Monaco, "Cascadia Code", monospace;
}

.water-goal {
  color: #666;
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 500;
}

.progress-bar {
  width: 100%;
  height: 16px;
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 8px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.water-percentage {
  font-weight: 700;
  color: #667eea;
  font-size: 18px;
}

.water-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.water-controls .btn {
  flex: 1;
}

.water-quick-add {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* Exercise List */
.exercise-list {
  max-height: 250px;
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.empty-state {
  text-align: center;
  color: #999;
  padding: 60px 20px;
  background: #fafbfc;
}

.empty-state i {
  font-size: 3.5rem;
  margin-bottom: 20px;
  opacity: 0.4;
  color: #667eea;
}

.exercise-item {
  background: white;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s ease;
}

.exercise-item:hover {
  background: #fafbfc;
}

.exercise-item:last-child {
  border-bottom: none;
}

.exercise-info h4 {
  margin-bottom: 6px;
  color: #333;
  font-weight: 600;
  font-size: 16px;
}

.exercise-details {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
  }
  .thrive-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .thrive-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 140px; /* More space for mobile header */
  }
  .container {
    padding: 0 16px;
  }
  .header {
    padding: 12px 0;
  }
  .header.scrolled {
    padding: 8px 0;
  }
  .header .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .nav-brand {
    gap: 10px;
  }
  .nav-brand h1 {
    font-size: 24px;
  }
  .header.scrolled .nav-brand h1 {
    font-size: 20px;
  }
  .tagline {
    font-size: 13px;
  }
  .header.scrolled .tagline {
    font-size: 12px;
  }
  .welcome-title {
    font-size: 2.5rem;
    margin-top: 20px;
  }
  .welcome-subtitle {
    font-size: 1.1rem;
  }
  .tab-navigation {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .tab-btn {
    width: 250px;
  }
  .card {
    padding: 20px;
  }
  @media (max-width: 768px) {
    /* Removed reminder form styles */
  }
  .input-group {
    flex-direction: column;
    gap: 12px;
  }
  .water-controls {
    flex-direction: column;
    gap: 12px;
  }
  .stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .timer-controls {
    flex-direction: column;
    gap: 12px;
  }
  .timer-controls .btn {
    width: 100%;
  }
  .chat-container {
    height: 350px;
  }
  .timer-text {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 120px;
  }
  .header .container {
    gap: 6px;
  }
  .nav-brand h1 {
    font-size: 22px;
  }
  .header.scrolled .nav-brand h1 {
    font-size: 18px;
  }
  .logo {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .header.scrolled .logo {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .welcome-title {
    font-size: 2rem;
  }
  .welcome-subtitle {
    font-size: 1rem;
  }
  .tab-btn {
    width: 200px;
    padding: 14px 24px;
    font-size: 14px;
  }
  .card {
    padding: 16px;
  }
  .card-header h3 {
    font-size: 1.3rem;
  }
  .timer-text {
    font-size: 2.5rem;
  }
  .water-amount {
    font-size: 2.5rem;
  }
  .stat-number {
    font-size: 2rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }
  .welcome-title {
    font-size: 1.8rem;
  }
  .tab-btn {
    width: 180px;
    padding: 12px 20px;
  }
  .card {
    padding: 14px;
  }
  .timer-text {
    font-size: 2.2rem;
  }
  .water-amount {
    font-size: 2.2rem;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1600px;
  }
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  }
  .thrive-grid {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* Loading Animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 2s infinite;
}

/* Success States */
.success-message {
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  margin: 16px 0;
  box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

/* Enhanced Fitness Tracker */
.fitness-tracker-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.stat-card {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 28px 24px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.25);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(102, 126, 234, 0.35);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.stat-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
  font-family: "SF Mono", Monaco, "Cascadia Code", monospace;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.95;
  font-weight: 600;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-group {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: stretch;
}

.input-group input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid #f0f2f5;
  border-radius: 16px;
  font-size: 15px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fafbfc;
  font-weight: 500;
  min-width: 0;
}

.input-group input:first-child {
  flex: 2;
}

.input-group input:nth-child(2) {
  flex: 1;
  max-width: 120px;
}

.input-group .btn {
  padding: 16px 24px;
  white-space: nowrap;
  font-weight: 700;
  border-radius: 16px;
  flex-shrink: 0;
}

/* Enhanced Exercise List */
.exercise-list {
  max-height: 280px;
  overflow-y: auto;
  border-radius: 20px;
  border: 2px solid #f0f2f5;
  background: #fafbfc;
}

.empty-state {
  text-align: center;
  color: #9ca3af;
  padding: 80px 20px;
  background: linear-gradient(135deg, #fafbfc, #f3f4f6);
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 24px;
  opacity: 0.3;
  color: #667eea;
  filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.1));
}

.empty-state p {
  font-size: 16px;
  font-weight: 500;
}

.exercise-item {
  background: white;
  padding: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  position: relative;
}

.exercise-item:hover {
  background: #f8fafc;
  transform: translateX(4px);
}

.exercise-item:last-child {
  border-bottom: none;
  border-radius: 0 0 18px 18px;
}

.exercise-item:first-child {
  border-radius: 18px 18px 0 0;
}

.exercise-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.exercise-item:hover::before {
  opacity: 1;
}

.exercise-info h4 {
  margin-bottom: 8px;
  color: #1f2937;
  font-weight: 700;
  font-size: 17px;
}

.exercise-details {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.exercise-details::before {
  content: "🔥";
  font-size: 12px;
}

/* Enhanced Water Tracker */
.water-tracker-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.water-display {
  text-align: center;
  margin-bottom: 36px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
  border-radius: 28px;
  border: 2px solid rgba(102, 126, 234, 0.12);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 400px;
}

.water-display::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.water-icon {
  font-size: 5rem;
  color: #667eea;
  margin-bottom: 24px;
  filter: drop-shadow(0 8px 16px rgba(102, 126, 234, 0.2));
  position: relative;
  z-index: 1;
}

.water-amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: #1f2937;
  margin-bottom: 8px;
  font-family: "SF Mono", Monaco, "Cascadia Code", monospace;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.water-goal {
  color: #6b7280;
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 12px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.4);
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.water-percentage {
  font-weight: 800;
  color: #667eea;
  font-size: 20px;
  position: relative;
  z-index: 1;
}

.water-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 400px;
}

.water-controls .btn {
  padding: 16px 24px;
  font-weight: 700;
  border-radius: 16px;
  font-size: 15px;
}

.water-quick-add {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.water-quick-add .btn {
  border-radius: 12px;
  font-weight: 600;
}

/* Success Animation */
.water-success {
  animation: waterSuccess 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes waterSuccess {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.goal-achieved {
  background: linear-gradient(135deg, #4facfe, #00f2fe) !important;
  color: white !important;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.cream-white {
  color: #fef7ed !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
