:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --card: #16161f;
  --border: #2a2a3a;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201,168,76,0.15);
  --red: #c94c4c;
  --blue: #4c7bc9;
  --green: #4cc98a;
  --text: #e8e8f0;
  --muted: #8888aa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Cairo', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* Screens */
.screen {
  display: none;
}

.screen.active {
  display: block;
}

/* Login Screen */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 450px;
  width: 100%;
  text-align: center;
}

.login-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.login-card h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--gold);
}

.login-subtitle {
  color: var(--muted);
  margin-bottom: 30px;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.tab {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
}

.tab.active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 20px;
  text-align: right;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Cairo', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
  width: 100%;
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
  display: inline-block;
}

.btn-success {
  background: var(--green);
  color: white;
}

/* Navbar */
.navbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.nav-icon {
  font-size: 28px;
}

.nav-menu {
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 10px 20px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}

.nav-link.active,
.nav-link:hover {
  background: var(--gold-dim);
  color: var(--gold);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-name {
  color: var(--text);
  font-weight: 600;
}

.btn-logout {
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Cairo', sans-serif;
  transition: all 0.3s;
}

.btn-logout:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

/* Content */
.content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 30px;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-header h1 {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 10px;
}

.page-header p {
  color: var(--muted);
  font-size: 16px;
}

/* Timeline Overview */
.timeline-overview {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow-x: auto;
}

.timeline-overview::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--border);
}

.timeline-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.timeline-item:hover {
  transform: translateY(-5px);
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.timeline-dot.phase1 { background: var(--gold); box-shadow: 0 0 15px rgba(201,168,76,0.5); }
.timeline-dot.phase2 { background: var(--blue); box-shadow: 0 0 15px rgba(76,123,201,0.5); }
.timeline-dot.phase3 { background: var(--green); box-shadow: 0 0 15px rgba(76,201,138,0.5); }
.timeline-dot.phase4 { background: var(--red); box-shadow: 0 0 15px rgba(201,76,76,0.5); }

.timeline-content h3 {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 5px;
}

.timeline-duration {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

/* Phase Section */
.phase-section {
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.phase-header-main {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.phase-number-large {
  font-size: 100px;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
}

.phase-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.phase-badge.phase1 { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.phase-badge.phase2 { background: rgba(76,123,201,0.15); color: var(--blue); border: 1px solid rgba(76,123,201,0.3); }
.phase-badge.phase3 { background: rgba(76,201,138,0.15); color: var(--green); border: 1px solid rgba(76,201,138,0.3); }
.phase-badge.phase4 { background: rgba(201,76,76,0.15); color: var(--red); border: 1px solid rgba(201,76,76,0.3); }

.phase-title-main {
  font-size: 32px;
  color: var(--text);
  margin-bottom: 10px;
}

.phase-desc {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 20px;
}

.phase-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
}

.phase-progress-fill {
  height: 100%;
  transition: width 0.5s ease;
}

.phase-progress-fill.phase1 { background: var(--gold); }
.phase-progress-fill.phase2 { background: var(--blue); }
.phase-progress-fill.phase3 { background: var(--green); }
.phase-progress-fill.phase4 { background: var(--red); }

.phase-progress-text {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

/* Topics Grid */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.topic-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}

.topic-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.topic-icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.topic-title {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 15px;
  font-weight: 700;
}

.topic-items {
  list-style: none;
  padding: 0;
}

.topic-items li {
  padding: 8px 0;
  padding-right: 20px;
  color: var(--muted);
  font-size: 14px;
  position: relative;
}

.topic-items li::before {
  content: '›';
  position: absolute;
  right: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Videos Section */
.videos-section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.video-card.completed {
  border-color: var(--green);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background: var(--surface);
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(201,168,76,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--bg);
  transition: all 0.3s;
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold);
}

.video-completed-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--green);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.video-info {
  padding: 20px;
}

.video-title {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 600;
}

.video-channel {
  font-size: 13px;
  color: var(--muted);
}

/* Exercises Section */
.exercises-section {
  margin-bottom: 40px;
}

.exercises-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.exercise-item {
  display: flex;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}

.exercise-item:hover {
  border-color: var(--gold);
  transform: translateX(-5px);
}

.exercise-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gold-dim);
  border: 2px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gold);
  font-weight: 700;
}

.exercise-content {
  flex: 1;
}

.exercise-title {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 600;
}

.exercise-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.modal-close:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

.modal-header {
  padding: 30px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 24px;
  color: var(--gold);
}

.modal-body {
  padding: 30px;
}

#videoPlayer iframe {
  width: 100%;
  height: 500px;
  border-radius: 8px;
}

.video-actions {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

/* Comments Section */
.comments-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.comments-section h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 20px;
}

#videoComments {
  margin-bottom: 30px;
}

.comment {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.comment-user {
  font-weight: 600;
  color: var(--gold);
}

.comment-time {
  font-size: 12px;
  color: var(--muted);
}

.comment-text {
  color: var(--text);
  line-height: 1.6;
}

.no-comments {
  text-align: center;
  color: var(--muted);
  padding: 40px;
  font-style: italic;
}

#commentForm textarea {
  width: 100%;
  min-height: 100px;
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'Cairo', sans-serif;
  resize: vertical;
  margin-bottom: 15px;
}

#commentForm textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Progress Page */
.progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.user-progress-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}

.user-progress-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.user-avatar {
  font-size: 60px;
  margin-bottom: 15px;
}

.user-name {
  font-size: 24px;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 700;
}

.user-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 28px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.user-progress-bar {
  width: 100%;
  height: 10px;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.user-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.5s ease;
}

.phases-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.phase-mini {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phase-mini-label {
  font-size: 12px;
  color: var(--muted);
}

.phase-mini-value {
  font-size: 14px;
  color: var(--gold);
  font-weight: 700;
}

/* Exercises Page */
.exercises-phase {
  margin-bottom: 60px;
}

.exercises-phase-title {
  font-size: 28px;
  color: var(--text);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.exercises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.exercise-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s;
  position: relative;
}

.exercise-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
}

.exercise-card-number {
  position: absolute;
  top: -15px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(201,168,76,0.3);
}

.exercise-card-title {
  font-size: 18px;
  color: var(--text);
  margin-bottom: 15px;
  margin-top: 10px;
  font-weight: 600;
}

.exercise-card-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Discussions Page */
.discussions-container {
  max-width: 900px;
  margin: 0 auto;
}

.discussions-header {
  margin-bottom: 30px;
  text-align: center;
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
  font-size: 16px;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
  }

  .nav-link {
    width: 100%;
  }

  .phase-header-main {
    flex-direction: column;
  }

  .phase-number-large {
    font-size: 60px;
  }

  .timeline-overview {
    flex-direction: column;
  }

  .timeline-overview::before {
    display: none;
  }

  .topics-grid {
    grid-template-columns: 1fr;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .progress-grid {
    grid-template-columns: 1fr;
  }

  .exercises-grid {
    grid-template-columns: 1fr;
  }

  #videoPlayer iframe {
    height: 300px;
  }
}


/* Calendar Styles */
.calendar-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-title {
  font-size: 24px;
  color: var(--text);
  font-weight: 700;
}

.calendar-nav {
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gold);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.calendar-nav:hover {
  background: var(--gold);
  color: var(--bg);
  transform: scale(1.1);
}

.calendar-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding: 20px;
  background: var(--surface);
  border-radius: 12px;
}

.calendar-stat {
  flex: 1;
  text-align: center;
}

.calendar-stat .stat-value {
  display: block;
  font-size: 32px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 5px;
}

.calendar-stat .stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calendar-grid {
  margin-bottom: 20px;
}

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 10px;
}

.calendar-day-name {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  padding: 10px 5px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  padding: 5px;
}

.calendar-day:not(.empty):not(.future):hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.calendar-day.empty {
  background: transparent;
  border: none;
  cursor: default;
}

.calendar-day.future {
  opacity: 0.3;
  cursor: not-allowed;
}

.calendar-day.attended {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.calendar-day.today {
  border: 2px solid var(--gold);
  box-shadow: 0 0 15px rgba(201,168,76,0.3);
}

.calendar-day.today.attended {
  background: linear-gradient(135deg, var(--gold-dim), rgba(76,201,138,0.15));
}

.day-number {
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}

.calendar-day.attended .day-number {
  color: var(--gold);
}

.day-indicator {
  position: absolute;
  bottom: 5px;
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 10px;
}

.calendar-legend {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.legend-color.attended {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.legend-color.today {
  background: var(--surface);
  border: 2px solid var(--gold);
}

.legend-label {
  font-size: 12px;
  color: var(--muted);
}

/* Notification Settings */
.notification-settings {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
}

.notification-settings h3 {
  font-size: 20px;
  color: var(--text);
  margin-bottom: 20px;
}

.notification-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
}

.notification-option-info {
  flex: 1;
}

.notification-option-title {
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 5px;
}

.notification-option-desc {
  font-size: 13px;
  color: var(--muted);
}

.notification-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  background: var(--border);
  border-radius: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.notification-toggle.active {
  background: var(--gold);
}

.notification-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s;
}

.notification-toggle.active::after {
  left: 27px;
}

.time-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.time-picker input {
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: 'Cairo', sans-serif;
}

.time-picker input:focus {
  outline: none;
  border-color: var(--gold);
}

/* Streak Badge */
.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold-dim), rgba(255,140,0,0.15));
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 8px 16px;
  margin: 10px 0;
}

.streak-badge .streak-icon {
  font-size: 20px;
}

.streak-badge .streak-number {
  font-size: 18px;
  color: var(--gold);
  font-weight: 700;
}

.streak-badge .streak-label {
  font-size: 12px;
  color: var(--muted);
}

/* Responsive Calendar */
@media (max-width: 768px) {
  .calendar-container {
    padding: 20px;
  }

  .calendar-title {
    font-size: 20px;
  }

  .calendar-stats {
    flex-direction: column;
    gap: 15px;
  }

  .calendar-day-name {
    font-size: 10px;
    padding: 8px 3px;
  }

  .day-number {
    font-size: 14px;
  }

  .day-indicator {
    font-size: 8px;
    padding: 1px 4px;
  }

  .calendar-legend {
    flex-direction: column;
    gap: 10px;
  }
}
