/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-color: #0D1B2A;
  --primary-blue: #4A90D9;
  --card-bg: rgba(30, 58, 95, 0.65); /* Elegant translucent dark blue */
  --card-border: rgba(126, 200, 227, 0.2);
  --text-color: #E8F4FD;
  --text-muted: #A9C5DE;
  --accent: #7EC8E3;
  --glow-color: rgba(74, 144, 217, 0.4);
  --error-color: #ff6b6b;
  --error-glow: rgba(255, 107, 107, 0.4);
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* RTL Specific Global Adjustments */
[dir="rtl"] {
  font-family: var(--font-sans); /* Fallback to standard sans-serif for Arabic */
}

/* Deep Space / Night Sky background details */
.sky-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(circle at 50% 50%, #152A4A 0%, #0D1B2A 70%, #060c14 100%);
  pointer-events: none;
}

.aurora-glow {
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 30% 20%, rgba(126, 200, 227, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 80% 70%, rgba(74, 144, 217, 0.08) 0%, transparent 50%);
  filter: blur(80px);
  z-index: 2;
  animation: aurora-drift 25s ease-in-out infinite alternate;
}

/* Floating Stars Container */
.stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* Individual Star Styles */
.star {
  position: absolute;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0;
  animation: float-and-fade linear infinite;
}

.star.twinkle {
  animation: twinkle-pulse 4s ease-in-out infinite alternate;
}

/* Main Login Container / Card */
.login-container {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 420px;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(74, 144, 217, 0.15);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.login-container:hover {
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(74, 144, 217, 0.25);
  border-color: rgba(126, 200, 227, 0.35);
}

/* Logo or Icon Header */
.login-header {
  margin-bottom: 2.5rem;
}

.icon-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(126, 200, 227, 0.1);
  border: 1px solid rgba(126, 200, 227, 0.2);
  margin-bottom: 1rem;
  color: var(--accent);
  box-shadow: inset 0 0 12px rgba(126, 200, 227, 0.15);
  animation: pulse-ring 3s infinite;
}

.icon-wrapper svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.login-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text-color);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(232, 244, 253, 0.3);
}

.login-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Form Styling */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  position: relative;
  width: 100%;
}

.input-field {
  width: 100%;
  padding: 1.1rem 3.5rem 1.1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(126, 200, 227, 0.2);
  background: rgba(13, 27, 42, 0.6);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  letter-spacing: 2px;
}

[dir="rtl"] .input-field {
  padding: 1.1rem 1.2rem 1.1rem 3.5rem;
  letter-spacing: 0;
}

.input-field::placeholder {
  color: rgba(169, 197, 222, 0.5);
  letter-spacing: normal;
  font-weight: 300;
}

.input-field:focus {
  border-color: var(--accent);
  background: rgba(13, 27, 42, 0.8);
  box-shadow: 
    0 0 0 1px var(--accent),
    0 0 15px rgba(126, 200, 227, 0.2);
}

.toggle-password {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

[dir="rtl"] .toggle-password {
  right: auto;
  left: 1.2rem;
}

.toggle-password:hover {
  color: var(--accent);
}

.toggle-password svg {
  width: 20px;
  height: 20px;
}

/* Submit Button */
.submit-btn {
  position: relative;
  width: 100%;
  padding: 1.1rem;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent));
  color: #0D1B2A;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 144, 217, 0.3);
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(74, 144, 217, 0.4),
    0 0 15px rgba(126, 200, 227, 0.4);
  background: linear-gradient(135deg, var(--accent), var(--primary-blue));
}

.submit-btn-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transform: scale(0);
  transition: transform 0.5s ease;
  pointer-events: none;
}

.submit-btn:hover .submit-btn-glow {
  transform: scale(1);
}

/* Error message styling */
.error-message {
  font-size: 0.85rem;
  color: var(--error-color);
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
  min-height: 20px;
}

.error-message.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom error shaking state */
.login-container.shake {
  animation: shake-card 0.5s ease-in-out;
  border-color: var(--error-color);
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 30px var(--error-glow);
}

/* Layout for the Dashboard */
.dashboard-wrapper {
  position: relative;
  z-index: 10;
  width: 92%;
  max-width: 900px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Header Utilities */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
}

/* Language switch button */
.lang-toggle-btn {
  background: rgba(126, 200, 227, 0.1);
  border: 1px solid rgba(126, 200, 227, 0.3);
  color: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-toggle-btn:hover {
  background: var(--accent);
  color: #0D1B2A;
  box-shadow: 0 0 15px rgba(126, 200, 227, 0.3);
}

/* Welcome Card */
.welcome-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: all 0.3s ease;
}

.welcome-card:hover {
  border-color: rgba(126, 200, 227, 0.3);
  box-shadow: 0 12px 35px rgba(74, 144, 217, 0.15);
}

.greeting-text-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.greeting-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
}

.name-editor {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.editable-name {
  border-bottom: 2px dashed rgba(126, 200, 227, 0.5);
  cursor: pointer;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.editable-name:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.edit-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.edit-icon:hover {
  color: var(--accent);
}

.dashboard-logout {
  display: flex;
  align-items: center;
}

/* Dashboard Grid Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .welcome-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
}

/* Common Card Style */
.dashboard-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.dashboard-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 200, 227, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(126, 200, 227, 0.15);
  padding-bottom: 0.8rem;
}

.card-title-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Relationship Counter Card */
.counter-display {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.counter-unit {
  background: rgba(13, 27, 42, 0.5);
  border: 1px solid rgba(126, 200, 227, 0.1);
  padding: 1rem 0.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.2);
}

.counter-val {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-serif);
}

.counter-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}

.counter-since-txt {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* Mood Tracker Card */
.mood-display-area {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1.2rem;
  min-height: 120px;
}

.mood-input-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

.mood-input-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1.2rem;
  align-items: center;
}

/* Custom styled Range Input Slider */
.mood-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #1E3A5F;
  outline: none;
  transition: background 0.3s;
}

/* Webkit Thumb */
.mood-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-blue);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-blue);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: thumb-pulse 2s infinite alternate;
}

.mood-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px var(--primary-blue), 0 0 25px var(--accent);
}

/* Mozilla Thumb */
.mood-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--primary-blue);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-blue);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: thumb-pulse 2s infinite alternate;
}

.mood-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px var(--primary-blue), 0 0 25px var(--accent);
}

@keyframes thumb-pulse {
  0% {
    box-shadow: 0 0 6px var(--primary-blue);
  }
  100% {
    box-shadow: 0 0 16px var(--accent), 0 0 8px var(--primary-blue);
  }
}

/* Live Value Large Display */
.mood-live-value {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 500;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(126, 200, 227, 0.4);
  line-height: 1;
  margin: 0.5rem 0;
}

/* Save button pill styling with high specificity */
#saveMoodBtn.mood-save-btn {
  background: var(--primary-blue) !important;
  border: none !important;
  color: #0D1B2A !important;
  padding: 0.8rem 2.5rem !important;
  border-radius: 30px !important;
  cursor: pointer !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(74, 144, 217, 0.2) !important;
  display: inline-block !important;
  width: auto !important;
}

#saveMoodBtn.mood-save-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(74, 144, 217, 0.4), 0 0 12px var(--accent) !important;
  background: #5aa1eb !important;
}

.mood-status-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Progress bar styles */
.mood-progress-container {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  height: 12px;
  overflow: hidden;
  margin-top: 0.3rem;
  position: relative;
}

.mood-progress-bar {
  height: 100%;
  width: 0%;
  background-color: var(--primary-blue);
  border-radius: 20px;
  transition: width 1s cubic-bezier(0.1, 0.8, 0.2, 1);
}

/* Partner card specific */
.partner-status-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

[dir="rtl"] .partner-status-container {
  text-align: right;
}

.partner-dimmed-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  opacity: 0.7;
  font-style: italic;
  text-align: center;
  margin: 1.5rem 0;
}

.partner-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(126, 200, 227, 0.08);
  padding-bottom: 0.6rem;
}

.partner-info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.partner-info-lbl {
  color: var(--text-muted);
}

.partner-info-val {
  font-weight: 500;
  color: var(--text-color);
}

.partner-info-val.checkin-yes {
  color: #4ade80; /* Elegant green check */
  font-weight: bold;
}

.partner-info-val.checkin-no {
  color: var(--error-color);
  font-weight: bold;
}

/* Navigation Section / Menu Grid */
.menu-grid-card {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .menu-grid-card {
    grid-column: span 1;
  }
}

.nav-menu-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 580px) {
  .nav-menu-list {
    grid-template-columns: 1fr;
  }
}

.nav-menu-item {
  background: rgba(13, 27, 42, 0.4);
  border: 1px solid rgba(126, 200, 227, 0.15);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: var(--text-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.nav-menu-item:hover {
  background: rgba(74, 144, 217, 0.15);
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(74, 144, 217, 0.2);
}

.nav-icon-wrapper {
  width: 50px;
  height: 50px;
  background: rgba(126, 200, 227, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.3s ease;
}

.nav-menu-item:hover .nav-icon-wrapper {
  background: var(--accent);
  color: #0D1B2A;
  box-shadow: 0 0 15px rgba(126, 200, 227, 0.4);
}

.nav-icon-wrapper svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
}

.nav-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Inline Edit Name Field */
.name-input {
  background: rgba(13, 27, 42, 0.8);
  border: 1px solid var(--accent);
  color: var(--text-color);
  font-size: 2.2rem;
  font-family: var(--font-serif);
  width: 180px;
  border-radius: 8px;
  padding: 2px 8px;
  outline: none;
  text-align: center;
}

/* Animations */
@keyframes shake-card {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
  20%, 40%, 60%, 80% { transform: translateX(6px); }
}

@keyframes float-and-fade {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: var(--star-opacity, 0.7);
  }
  90% {
    opacity: var(--star-opacity, 0.7);
  }
  100% {
    transform: translateY(-105vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes twinkle-pulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes aurora-drift {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-10%, -10%) rotate(5deg);
  }
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(126, 200, 227, 0.3), inset 0 0 12px rgba(126, 200, 227, 0.15);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(126, 200, 227, 0), inset 0 0 12px rgba(126, 200, 227, 0.15);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(126, 200, 227, 0), inset 0 0 12px rgba(126, 200, 227, 0.15);
  }
}

/* Footer / Romantic hint */
.login-footer {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.login-footer:hover {
  opacity: 0.9;
}

/* Media Queries */
@media (max-width: 480px) {
  .login-container {
    padding: 2.5rem 1.5rem;
  }
  
  .login-title {
    font-size: 2.1rem;
  }
}

/* One-time Setup Flow Modal Overlay */
.setup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(13, 27, 42, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.setup-card {
  width: 90%;
  max-width: 440px;
  padding: 3rem 2.5rem;
  border-radius: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(74, 144, 217, 0.25);
  text-align: center;
}

.setup-card h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-shadow: 0 0 15px rgba(232, 244, 253, 0.3);
}

.setup-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

[dir="rtl"] .setup-form {
  text-align: right;
}

.setup-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.setup-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.setup-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(126, 200, 227, 0.2);
  background: rgba(13, 27, 42, 0.7);
  color: var(--text-color);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.setup-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(126, 200, 227, 0.2);
}

.setup-input:disabled {
  opacity: 0.6;
  background: rgba(13, 27, 42, 0.4);
  cursor: not-allowed;
}

/* Style custom date picker field */
.setup-input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.9) sepia(0.3) saturate(1) hue-rotate(180deg);
  cursor: pointer;
}

.setup-btn {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent));
  border: none;
  color: #0D1B2A;
  padding: 1rem;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(74, 144, 217, 0.25);
}

.setup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 217, 0.4), 0 0 12px var(--accent);
}

/* Custom Header Bar */
.dashboard-header-bar {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(126, 200, 227, 0.3);
  margin-top: 1rem;
}

.header-separator {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(126, 200, 227, 0.3), transparent);
  margin: 1rem auto 2rem auto;
  width: 60%;
}

/* Check-in Card & Button */
.checkin-display-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  gap: 1rem;
}

/* Check-in Card Redesign */
.checkin-card {
  background: #1E3A5F !important;
  border-radius: 20px;
  padding: 2rem 1.5rem !important;
  min-height: 250px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.checkin-header-label {
  color: #7EC8E3;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 0.5rem;
}

.checkin-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid #4A90D9;
  background: transparent;
  color: #4A90D9;
  font-size: 2rem;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 20px auto;
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
  outline: none;
}

.checkin-circle:hover:not(:disabled) {
  background: #4A90D9;
  color: #0D1B2A;
  box-shadow: 0 0 20px #4A90D9;
}

.checkin-circle.done {
  background: #4A90D9 !important;
  border-color: #4A90D9 !important;
  color: #0D1B2A !important;
  animation: none !important;
  cursor: default !important;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 144, 217, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(74, 144, 217, 0); }
}

.checkin-center {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
}

.checkin-hint {
  font-size: 0.95rem;
  color: rgba(126, 200, 227, 0.6);
  transition: all 0.3s ease;
  text-align: center;
  margin-top: 10px;
}

.checkin-hint.checked {
  color: #7EC8E3;
  font-weight: 500;
}


