/* Planner Page Styles */

.planner-container {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 40px 20px;
  max-width: 1600px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
}

.control-panel {
  width: 320px;
  flex-shrink: 0;
  order: 1;
}

.planner-main {
  flex: 1;
  min-width: 0;
  order: 2;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

.control-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.control-panel:hover::before {
  opacity: 1;
}

.control-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin: 0 0 24px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  border-bottom: 2px solid rgba(0, 255, 255, 0.3);
  padding-bottom: 12px;
}

.control-section {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.control-section:last-child {
  margin-bottom: 0;
}

.control-section-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin: 0 0 12px;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

/* Collapsible functionality */
.collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  padding: 8px 0;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.collapsible-header:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

.collapse-icon {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  color: var(--neon-cyan);
  margin-left: 8px;
}

.collapsible-header.collapsed .collapse-icon {
  transform: rotate(-90deg);
}

.collapsible-content {
  max-height: 2000px;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 1;
}

.collapsible-content.collapsed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}

.control-section-content {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.goals-summary {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 12px;
}

.goals-summary-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.goals-summary-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

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

.goals-summary-label {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  min-width: 80px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.goals-summary-value {
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
  font-size: 1.1rem;
  flex: 1;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.goals-summary-unit {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* Nutrition Recommendations */
.nutrition-recommendations {
  margin-top: 20px;
  padding: 16px;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
}

.nutrition-title {
  color: var(--neon-cyan);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.nutrition-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.15);
  width: 100%;
  overflow: visible;
}

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

.nutrition-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nutrition-value-wrapper {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.nutrition-value {
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
  font-size: 1.3rem;
  flex-shrink: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.nutrition-unit {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.selected-date-display {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin-top: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

/* Activity Log Styles */
.control-textarea {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  transition: all 0.3s ease;
  outline: none;
  margin-top: 8px;
  resize: vertical;
}

.control-textarea:hover {
  border-color: rgba(0, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.control-textarea:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.control-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Sets Container Styles */
#setsContainer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.set-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  position: relative;
}

.set-item-number {
  font-weight: 600;
  color: var(--neon-cyan);
  min-width: 30px;
  font-size: 0.9rem;
  padding-top: 8px;
}

.set-item-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding-right: 40px;
}

.set-weight-input,
.set-reps-input {
  flex: 1;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 6px;
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.set-weight-input:hover,
.set-reps-input:hover {
  border-color: rgba(0, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.set-weight-input:focus,
.set-reps-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.set-weight-input::placeholder,
.set-reps-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.set-weight-label,
.set-reps-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.set-input-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.remove-set-btn {
  background: rgba(255, 100, 100, 0.2);
  border: 1px solid rgba(255, 100, 100, 0.4);
  color: rgba(255, 100, 100, 0.9);
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: bold;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: absolute;
  top: 8px;
  right: 8px;
}

.remove-set-btn:hover {
  background: rgba(255, 100, 100, 0.3);
  border-color: rgba(255, 100, 100, 0.6);
  transform: scale(1.1);
}

.add-set-btn {
  background: rgba(0, 255, 255, 0.15);
  border: 1px solid rgba(0, 255, 255, 0.4);
  color: var(--neon-cyan);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.add-set-btn:hover {
  background: rgba(0, 255, 255, 0.25);
  border-color: rgba(0, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.2);
}

/* Checkbox styling */
#sameWeightForAllSets {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--neon-cyan);
  margin-right: 8px;
}

#sameWeightForAllSets:checked {
  accent-color: var(--neon-cyan);
}

.activities-list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

#activitiesContainer {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
  width: 100%;
  align-items: stretch;
}

.activity-item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 12px;
  width: 100%;
  box-sizing: border-box;
}

.activity-delete-btn {
  background: rgba(255, 0, 0, 0.2);
  border: 1px solid rgba(255, 0, 0, 0.4);
  border-radius: 50%;
  color: #ff6b6b;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: all 0.3s ease;
  padding: 0;
  flex-shrink: 0;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  pointer-events: auto;
  outline: none;
}

.activity-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 255, 0.4);
}

.activity-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  width: 100%;
  box-sizing: border-box;
}

.activity-item-type {
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.activity-item-date {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.activity-item-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  width: 100%;
}

.activity-sets-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 40px;
}

.activity-sets-header {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.activity-sets-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  line-height: 1.5;
}

.activity-delete-btn:hover {
  background: rgba(255, 0, 0, 0.3);
  border-color: #ff6b6b;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
  transform: scale(1.1);
}

.activity-delete-btn:active {
  transform: scale(0.95);
}

.activity-item-notes {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.activity-item-notes:empty {
  display: none;
}


.control-item {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.control-item.hidden {
  display: none !important;
}

.control-item:not(:has(.control-input)):not(:has(.control-select)) {
  cursor: pointer;
}

.control-item:not(:has(.control-input)):not(:has(.control-select)):hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 255, 0.4);
  transform: translateX(4px);
}

.control-item:last-child {
  margin-bottom: 0;
}

.control-item-label {
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.4;
}

.control-item-value {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: none;
}

.control-input,
.control-select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  transition: all 0.3s ease;
  outline: none;
  margin-top: 8px;
}

.control-input:hover,
.control-select:hover {
  border-color: rgba(0, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.control-input:focus,
.control-select:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

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

.control-select {
  cursor: pointer;
}

.control-select option {
  background: #1a1a2e;
  color: white;
}

.control-item {
  position: relative;
}

.control-input {
  padding-right: 45px;
}

/* Hide spinner arrows on number inputs */
.control-input[type="number"]::-webkit-outer-spin-button,
.control-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.control-input[type="number"] {
  -moz-appearance: textfield;
}

.control-unit {
  position: absolute;
  right: 28px;
  bottom: 26px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  pointer-events: none;
}

.control-submit-btn {
  width: 100%;
  padding: 12px 24px;
  margin-top: 12px;
  background: rgba(0, 255, 255, 0.2);
  border: 2px solid var(--neon-cyan);
  border-radius: 8px;
  color: var(--neon-cyan);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.control-submit-btn:hover {
  background: rgba(0, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  transform: translateY(-2px);
}

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

.control-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

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

/* Calendar Styles */
.calendar-container {
  width: 100%;
  height: 100%;
}

.calendar-header {
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(0, 255, 255, 0.3);
  padding-bottom: 16px;
}

.calendar-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin: 0 0 16px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.calendar-nav-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  color: var(--neon-cyan);
  font-size: 1.5rem;
  font-weight: 700;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.calendar-nav-btn:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transform: scale(1.1);
}

.calendar-nav-btn:active {
  transform: scale(0.95);
}

.calendar-month-year {
  flex: 1;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day-header {
  text-align: center;
  padding: 12px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.calendar-day {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 8px;
  position: relative;
}

.calendar-day:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 255, 255, 0.4);
  transform: translateY(-2px);
}

.calendar-day.other-month {
  opacity: 0.3;
  cursor: default;
}

.calendar-day.past-day {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 255, 255, 0.25);
}

.calendar-day.past-day .calendar-day-number {
  color: rgba(255, 255, 255, 0.8);
}

.calendar-day.future-day {
  opacity: 0.3;
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(0, 255, 255, 0.1);
  cursor: default;
}

.calendar-day.future-day .calendar-day-number {
  color: rgba(255, 255, 255, 0.3);
}

.calendar-day.today {
  background: rgba(0, 255, 255, 0.15);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.calendar-day.selected {
  background: rgba(0, 255, 255, 0.5);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  color: white;
  font-weight: 700;
}

.calendar-day.selected .calendar-day-number {
  color: white;
  font-weight: 700;
}

.calendar-day.activity-selected {
  background: rgba(0, 255, 255, 0.5);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  color: white;
  font-weight: 700;
}

.calendar-day.activity-selected .calendar-day-number {
  color: white;
  font-weight: 700;
}

.calendar-day.today.activity-selected {
  background: rgba(0, 255, 255, 0.5);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.calendar-day.today.activity-selected .calendar-day-number {
  color: white;
  font-weight: 700;
}

.calendar-day.has-activity {
  background: rgba(0, 255, 200, 0.2);
  border-color: rgba(0, 255, 200, 0.5);
  position: relative;
}

.calendar-day.has-activity::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #00ffc8;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 255, 200, 0.8);
}

.calendar-day.has-activity.past-day {
  background: rgba(0, 255, 200, 0.2);
  border-color: rgba(0, 255, 200, 0.5);
  opacity: 0.9;
}

.calendar-day.has-activity.future-day {
  background: rgba(0, 255, 200, 0.1);
  border-color: rgba(0, 255, 200, 0.3);
  opacity: 0.4;
}

.calendar-day.has-activity.today {
  background: rgba(0, 255, 200, 0.25);
  border-color: rgba(0, 255, 200, 0.6);
}

.calendar-day.has-activity.activity-selected {
  background: rgba(0, 255, 255, 0.5);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.calendar-day.has-activity.activity-selected .calendar-day-number {
  color: white;
  font-weight: 700;
}

.calendar-day.has-activity.today.activity-selected {
  background: rgba(0, 255, 255, 0.5);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.calendar-day.has-activity.today.activity-selected .calendar-day-number {
  color: white;
  font-weight: 700;
}

.calendar-day-number {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.calendar-day.today .calendar-day-number {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.calendar-day-events {
  position: absolute;
  bottom: 4px;
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.calendar-event-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 4px rgba(0, 255, 255, 0.8);
}

/* Custom Delete Confirmation Modal */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.custom-modal-content {
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 16px;
  padding: 0;
  max-width: 450px;
  width: 90%;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 255, 255, 0.2);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.custom-modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.custom-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.custom-modal-body {
  padding: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.custom-modal-body p {
  margin: 0;
}

.custom-modal-footer {
  padding: 16px 24px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.custom-modal-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1.5px solid;
}

.custom-modal-btn-cancel {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.custom-modal-btn-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.custom-modal-btn-confirm {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.5);
  color: #ff6b6b;
}

.custom-modal-btn-confirm:hover {
  background: rgba(255, 0, 0, 0.3);
  border-color: rgba(255, 0, 0, 0.7);
  color: #ff5252;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  transform: translateY(-1px);
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsive */
@media (max-width: 1024px) {
  .planner-container {
    flex-direction: column;
  }
  
  .control-panel {
    width: 100%;
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    padding: 4px;
  }

  .calendar-day-number {
    font-size: 0.85rem;
  }
}

