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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #fef5e7 0%, #fff9e6 100%);
  color: #2c3e50;
  min-height: 100vh;
}

/* Header/Logo */
.app-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 69px;
}

body.admin-view .app-header {
  display: none;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
}

.logo-icon {
  font-size: 28px;
}

.logo-text {
  font-size: 18px;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.logo-tagline {
  font-size: 11px;
  color: var(--primary-blue);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Colors - Illuminate Theme - Soft Pastels */
:root {
  --primary-yellow: #FFE680;
  --primary-coral: #FFB3A7;
  --primary-blue: #A8D8FF;
  --light-yellow: #FFFAF0;
  --dark-gray: #4a5568;
  --medium-gray: #8899aa;
  --light-gray: #dde5eb;
  --background: #FFFFFF;
  --field-background: #f9f9fc;
  --border-color: #e8e8f0;
  --gradient-warm: linear-gradient(135deg, #FFE680 0%, #FFB3A7 100%);
  --gradient-cool: linear-gradient(135deg, #A8D8FF 0%, #B8D4F1 100%);
  --gradient-light: linear-gradient(135deg, #FFFAF0 0%, #FFE8D6 100%);
}

/* Main Container */
.container {
  min-height: calc(100vh - 60px);
  background: linear-gradient(135deg, #fef5e7 0%, #fff9e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: 60px;
  padding: 60px 0px;
  box-sizing: border-box;
}

.content {
  width: 100%;
  max-width: 600px;
  padding: 24px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Carousel */
.carousel-container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  overflow: hidden;
  position: relative;
  padding-top: 60px;
}

.carousel-slide {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 1;
  animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  opacity: 0.12;
  transition: opacity 0.4s ease-in-out;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.carousel-slide > * {
  position: relative;
  z-index: 2;
  animation: slideInUp 0.6s ease-out;
}

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

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

.carousel-slide.slide-1 {
  background: linear-gradient(135deg, #FFE8A0 0%, #FFF5E6 30%, #FFFAF0 60%, #FFC4B3 100%);
  color: #4a5568;
}

.carousel-slide.slide-1::before {
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 183, 167, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255, 230, 128, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 250, 240, 0.3) 0%, transparent 60%);
}

.carousel-slide.slide-2 {
  background: linear-gradient(135deg, #FFC4B3 0%, #FFE8D6 30%, #FFFAF0 60%, #FFD0D8 100%);
  color: #4a5568;
}

.carousel-slide.slide-2::before {
  background: 
    radial-gradient(circle at 15% 85%, rgba(255, 184, 198, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(255, 179, 167, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 250, 240, 0.3) 0%, transparent 60%);
}

.carousel-slide.slide-3 {
  background: linear-gradient(135deg, #B8E5FF 0%, #D6EDFF 30%, #FFFAF0 60%, #C8E0F5 100%);
  color: #4a5568;
}

.carousel-slide.slide-3::before {
  background: 
    radial-gradient(circle at 10% 90%, rgba(168, 216, 255, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(184, 212, 241, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(255, 250, 240, 0.3) 0%, transparent 60%);
}

.carousel-slide.slide-welcome {
  background: linear-gradient(135deg, #FFE8A0 0%, #FFF5E6 20%, #FFFAF0 40%, #FFC4B3 60%, #D6EDFF 80%, #B8E5FF 100%);
  color: #4a5568;
}

.carousel-slide.slide-welcome::before {
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 179, 167, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255, 230, 128, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(168, 216, 255, 0.12) 0%, transparent 70%),
    radial-gradient(circle at 30% 30%, rgba(255, 250, 240, 0.4) 0%, transparent 50%);
}

.carousel-icon {
  margin-bottom: 32px;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  animation-delay: 0.2s;
}

.carousel-icon svg {
  width: 140px;
  height: 140px;
  animation: pulse 3s ease-in-out infinite;
  transform-origin: center;
}

.carousel-icon svg g {
  animation: sunRotate 20s linear infinite;
  transform-origin: 130px 130px;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.02);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(0 0 15px rgba(255, 230, 128, 0.4));
  }
  50% {
    opacity: 0.95;
    filter: drop-shadow(0 0 25px rgba(255, 230, 128, 0.6));
  }
}

@keyframes sunRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.carousel-title {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
  color: #2c3e50;
  letter-spacing: -0.3px;
  animation: titleFadeIn 0.8s ease-out 0.2s both;
  line-height: 1.2;
}

.carousel-description {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  margin-bottom: 52px;
  opacity: 0.92;
  line-height: 1.8;
  color: #4a5568;
  max-width: 520px;
  font-weight: 500;
  white-space: pre-line;
  animation: descriptionFadeIn 0.8s ease-out 0.4s both;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2px;
}

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

@keyframes descriptionFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 0.92;
    transform: translateY(0);
  }
}

.carousel-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.8);
  position: relative;
}

.carousel-dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.15);
}

.carousel-dot.active {
  background: white;
  transform: scale(1.4);
  width: 12px;
  height: 12px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5), 0 0 12px rgba(255, 255, 255, 0.3);
}

.carousel-dot.active::before {
  width: 20px;
  height: 20px;
}

.carousel-buttons {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  animation: buttonsFadeIn 0.8s ease-out 0.6s both;
}

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

.carousel-button {
  padding: 14px 28px;
  border: 2px solid rgba(74, 85, 104, 0.25);
  background: rgba(255, 255, 255, 0.25);
  color: #4a5568;
  border-radius: 28px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.carousel-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.carousel-button:hover::before {
  width: 300px;
  height: 300px;
}

.carousel-button:hover {
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(74, 85, 104, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.carousel-button:active {
  transform: translateY(0);
  transition: all 0.15s;
}

.carousel-button-primary {
  background: rgba(255, 255, 255, 0.95);
  color: #4a5568;
  border-color: rgba(74, 85, 104, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-button-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: white;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  border-color: rgba(74, 85, 104, 0.3);
}

/* Typography */
.title {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-gray);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.subtitle {
  font-size: 14px;
  color: var(--medium-gray);
  margin-bottom: 24px;
  font-weight: 500;
}

.label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-gray);
  display: block;
  margin-bottom: 8px;
  text-transform: capitalize;
}

.button-text {
  font-size: 16px;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
}

.link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-blue);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: all 0.2s;
}

.link:hover {
  color: var(--primary-coral);
}

.link-highlight {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-coral);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

/* Yellow Line Separator */
.yellow-line {
  height: 3px;
  background: var(--gradient-warm);
  margin: 16px 0 24px 0;
  border-radius: 2px;
}

/* Form Fields */
.form-group {
  margin-bottom: 16px;
}

.form-group.mb-32 {
  margin-bottom: 32px;
}

.input-field {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  background-color: #f8f9fa;
  font-size: 14px;
  color: var(--dark-gray);
  font-family: inherit;
  transition: all 0.3s;
  font-weight: 500;
}

.input-field:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.input-field::placeholder {
  color: #bbb;
}

.input-field:disabled {
  background-color: #f0f0f0;
  cursor: not-allowed;
}

.phone-prefix {
  display: flex;
  gap: 0;
}

.phone-prefix-box {
  width: 70px;
  padding: 14px;
  background: var(--gradient-warm);
  border-radius: 12px 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 16px;
}

.phone-prefix-box + .input-field {
  border-radius: 0 12px 12px 0;
  margin-left: -2px;
}

.error-message {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 6px;
  margin-left: 4px;
  font-weight: 500;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
}

.checkbox-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--primary-yellow);
}

.checkbox-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
  cursor: pointer;
}

/* Gender Buttons */
.gender-group {
  margin-bottom: 16px;
}

.gender-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.gender-button {
  padding: 14px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background-color: #f8f9fa;
  color: var(--medium-gray);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.gender-button.selected {
  background: var(--gradient-warm);
  border-color: var(--primary-coral);
  color: #4a5568;
  font-weight: 700;
}

.gender-button:hover:not(.selected) {
  border-color: var(--primary-blue);
  background: rgba(74, 144, 226, 0.05);
}

/* Buttons */
.button {
  width: 100%;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  background: var(--gradient-warm);
  color: #4a5568;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 180, 167, 0.25);
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 180, 167, 0.3);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.button-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Progress Indicator */
.progress-indicator {
  margin-bottom: 32px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: flex-start;
}

.progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.progress-step-arrow {
  color: var(--primary-yellow);
  font-size: 24px;
  margin-bottom: 8px;
  height: 20px;
}

.progress-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  transition: all 0.3s;
}

.progress-circle.active {
  background: var(--gradient-warm);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.progress-circle.completed {
  background: linear-gradient(135deg, #A8D8FF 0%, #B8D4F1 100%);
  color: #4a5568;
}

.progress-circle.pending {
  background: #e8e8e8;
  color: #999;
}

.progress-label {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  margin-top: 4px;
}

.progress-label.active {
  color: var(--dark-gray);
  font-weight: 700;
}

.progress-bar {
  height: 3px;
  background: var(--gradient-warm);
  margin: 0 20px;
  border-radius: 2px;
}

/* Text Button (Link) */
.text-button {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-blue);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.text-button:hover {
  color: var(--primary-coral);
}

/* Center Content */
.center {
  text-align: center;
  margin-bottom: 16px;
}

/* Spacing */
.mt-20 {
  margin-top: 20px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.gap-8 {
  gap: 8px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

/* Icon Styles */
.input-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  color: var(--medium-gray);
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.input-icon:hover {
  color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 600px) {
  .content {
    border-radius: 20px 20px 0 0;
    margin-top: auto;
  }

  .title {
    font-size: 28px;
  }

  .carousel-slide {
    padding: 32px 20px;
  }

  .carousel-icon {
    margin-bottom: 24px;
    font-size: 60px;
  }

  .carousel-icon svg {
    width: 120px;
    height: 120px;
  }

  .carousel-title {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .carousel-description {
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 100%;
    line-height: 1.75;
  }

  .carousel-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
  }

  .carousel-button {
    width: 100%;
    padding: 12px 24px;
  }

  .carousel-dots {
    bottom: 30px;
    padding: 6px 12px;
  }

  .carousel-dot {
    width: 8px;
    height: 8px;
  }

  .carousel-dot.active {
    width: 10px;
    height: 10px;
  }
}

/* Welcome Text */
.welcome-container {
  text-align: center;
  padding: 40px 24px;
}

.welcome-title {
  font-size: 32px;
  font-weight: 700;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.welcome-subtitle {
  font-size: 16px;
  color: var(--medium-gray);
  margin-bottom: 32px;
  line-height: 1.6;
}

.welcome-buttons {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.welcome-button {
  padding: 16px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: capitalize;
}

.welcome-button.primary {
  background: var(--gradient-warm);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.welcome-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.welcome-button.secondary {
  background: #f0f0f0;
  color: var(--dark-gray);
  border: 2px solid var(--border-color);
}

.welcome-button.secondary:hover {
  background: #e8e8e8;
  border-color: var(--primary-blue);
}

/* Admin Layout */
.admin-layout {
  display: flex;
  height: 100vh;
  background: #f5f5f5;
}

.admin-sidebar {
  width: 280px;
  background: white;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
  position: fixed;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #e8e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-logo {
  font-size: 18px;
  font-weight: 700;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-close {
  background: none;
  border: none;
  color: var(--primary-coral);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.sidebar-close:hover {
  background: rgba(255, 179, 167, 0.1);
}

.sidebar-nav {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.nav-section {
  margin-bottom: 8px;
}

.nav-item {
  width: 100%;
  padding: 12px 20px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
  transition: all 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-item:hover {
  background: rgba(255, 230, 128, 0.1);
  color: var(--primary-coral);
}

.nav-item.nav-module.active {
  background: rgba(255, 230, 128, 0.15);
  color: var(--primary-coral);
  font-weight: 600;
}

.expand-icon {
  font-size: 12px;
  transition: transform 0.2s;
}

.expand-icon.expanded {
  transform: rotate(-180deg);
}

.nav-submenu {
  background: #f8f9fa;
  border-left: 3px solid var(--primary-yellow);
}

.nav-subitem {
  width: 100%;
  padding: 10px 20px 10px 40px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  color: var(--medium-gray);
  transition: all 0.2s;
  font-weight: 500;
}

.nav-subitem:hover {
  color: var(--primary-coral);
  background: rgba(255, 230, 128, 0.08);
}

.nav-subitem.active {
  color: var(--primary-coral);
  background: rgba(255, 230, 128, 0.12);
  font-weight: 600;
}

.admin-main {
  flex: 1;
  margin-left: 280px;
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
}

.admin-header {
  background: white;
  padding: 20px 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e8e8f0;
}

.admin-header-left {
  flex: 1;
}

.admin-title {
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.admin-user {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray);
}

.btn-logout {
  padding: 8px 16px;
  background: #f0f0f0;
  color: var(--dark-gray);
  border: 1px solid #e8e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-logout:hover {
  background: var(--primary-coral);
  color: white;
  border-color: var(--primary-coral);
}

.btn-logout:active {
  transform: scale(0.98);
}

.admin-body {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

.admin-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.stats-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 16px;
  transition: all 0.3s;
}

.stats-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.stats-icon {
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 230, 128, 0.1);
  border-radius: 12px;
}

.stats-content {
  flex: 1;
}

.stats-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--medium-gray);
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stats-value {
  font-size: 28px;
  font-weight: 700;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.stats-trend {
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.stats-trend.up {
  color: #27ae60;
}

.stats-trend.down {
  color: #e74c3c;
}

/* Content Section */
.content-section {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.content-section h2 {
  margin: 0 0 24px 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-gray);
}

.content-section h3 {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-gray);
}

/* Data Table */
.data-table-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.table-actions {
  display: flex;
  gap: 12px;
}

.table-wrapper {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table thead {
  background: #f8f9fa;
  border-bottom: 2px solid #e8e8f0;
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--dark-gray);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  color: var(--dark-gray);
}

.data-table tbody tr:hover {
  background: #f8f9fa;
}

.data-table .no-data {
  text-align: center;
  color: var(--medium-gray);
  padding: 32px 16px;
}

.table-actions-cell {
  display: flex;
  gap: 8px;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: rgba(255, 230, 128, 0.1);
}

.btn-icon.delete:hover {
  background: rgba(231, 76, 60, 0.1);
}

/* Buttons */
.btn {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.btn-primary {
  background: var(--gradient-warm);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 179, 167, 0.2);
}

.btn.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(255, 179, 167, 0.3);
  transform: translateY(-1px);
}

.btn.btn-secondary {
  background: #f0f0f0;
  color: var(--dark-gray);
  border: 1px solid #e8e8f0;
}

.btn.btn-secondary:hover {
  background: #e8e8e8;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid #e8e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-gray);
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--medium-gray);
  transition: all 0.2s;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--primary-coral);
}

.modal-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid #e8e8f0;
  margin-top: 16px;
}

/* Chart */
.chart-container {
  background: white;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.chart-container h3 {
  margin: 0 0 20px 0;
  font-size: 16px;
  font-weight: 600;
}

.simple-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 200px;
  gap: 12px;
  margin-bottom: 20px;
}

.chart-bar-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.chart-bar {
  width: 100%;
  background: var(--gradient-warm);
  border-radius: 6px;
  min-height: 20px;
  transition: all 0.3s;
  cursor: pointer;
}

.chart-bar:hover {
  opacity: 0.8;
  transform: scaleY(1.05);
}

.chart-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--medium-gray);
}

/* Export Options */
.export-options {
  padding: 24px;
  background: white;
  border-radius: 12px;
}

.export-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

/* Config Section */
.config-section {
  padding: 24px;
  background: white;
  border-radius: 12px;
}

.config-item {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e8f0;
}

.config-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.config-item h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-gray);
}

/* Empty State */
.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--medium-gray);
}

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

.empty-state p:last-child {
  font-size: 14px;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 1024px) {
  .admin-sidebar {
    width: 240px;
  }

  .admin-main {
    margin-left: 240px;
  }

  .admin-body {
    padding: 24px;
  }

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

@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .admin-body {
    padding: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .table-wrapper {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 8px;
  }

  .modal-content {
    width: 95%;
  }
}
