* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Fredoka One', cursive;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  background: linear-gradient(135deg, #FFE0B2 0%, #FFCC80 100%);
  min-height: 100vh;
  padding: 0;
}

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

.vacation-header {
  width: 100%;
  height: 160px;
  background: linear-gradient(180deg, #4FC3F7 0%, #B3E5FC 60%, #FFEB3B 100%);
  position: relative;
  overflow: hidden;
  margin: 0 0 20px 0;
  border-bottom: 5px solid #FDD835;
}

.sun {
  position: absolute;
  top: 15px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: #FFC107;
  border-radius: 50%;
  box-shadow: 0 0 15px #FFC107, 0 0 30px #FFC107;
  animation: sunGlow 2s ease-in-out infinite alternate;
  z-index: 2;
}

@keyframes sunGlow {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.cloud {
  position: absolute;
  background: white;
  border-radius: 100px;
  animation: cloudMove 25s linear infinite;
  opacity: 0.95;
}

.cloud.a {
  width: 80px;
  height: 28px;
  top: 30px;
  left: -80px;
}

.cloud.b {
  width: 60px;
  height: 24px;
  top: 55px;
  left: -60px;
  animation-delay: -12s;
  animation-duration: 22s;
}

.cloud::after,
.cloud::before {
  content: '';
  position: absolute;
  background: white;
  border-radius: 50%;
}

.cloud.a::after {
  width: 32px;
  height: 32px;
  top: -14px;
  left: 12px;
}

.cloud.a::before {
  width: 36px;
  height: 36px;
  top: -16px;
  right: 12px;
}

.cloud.b::after {
  width: 24px;
  height: 24px;
  top: -10px;
  left: 10px;
}

.cloud.b::before {
  width: 28px;
  height: 28px;
  top: -12px;
  right: 10px;
}

@keyframes cloudMove {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(100% + 100px));
  }
}

.road {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(180deg, #546E7A 0%, #37474F 100%);
}

.road::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 6px;
  background: repeating-linear-gradient(90deg, #FFF, #FFF 35px, transparent 35px, transparent 70px);
  animation: moveLines 0.9s linear infinite;
}

@keyframes moveLines {
  100% {
    transform: translate(-70px, -50%);
  }
}

.bg-shape {
  position: absolute;
  bottom: 50px;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: flex-end;
}

.tree {
  background: rgba(255, 255, 255, 0.4);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation: moveBg 20s linear infinite;
}

@keyframes moveBg {
  0% {
    transform: translateX(-60px);
  }

  100% {
    transform: translateX(calc(100% + 60px));
  }
}

.car {
  position: absolute;
  bottom: 23px;
  left: -110px;
  width: 100px;
  height: 40px;
  animation: driveCar 12s linear infinite;
  z-index: 100;
}

@keyframes driveCar {
  0% {
    left: -110px;
  }

  100% {
    left: calc(100% + 50px);
  }
}

.car-body {
  width: 100px;
  height: 32px;
  background: linear-gradient(135deg, #FF6B9D 0%, #E91E63 100%);
  border-radius: 20px 25px 5px 5px;
  position: absolute;
  bottom: 8px;
  left: 0;
  border: 3px solid white;
}

.car-body::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 20px;
  width: 55px;
  height: 20px;
  background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
  border-radius: 15px 18px 0 0;
  border-bottom: 3px solid white;
}

.window {
  position: absolute;
  top: 4px;
  left: 12px;
  width: 28px;
  height: 16px;
  background: rgba(173, 216, 230, 0.8);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.window.right {
  left: 58px;
}

.wheel {
  position: absolute;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: #222;
  border-radius: 50%;
  border: 3px solid #888;
  animation: spin 0.5s linear infinite;
}

.wheel.left {
  left: 15px;
}

.wheel.right {
  right: 15px;
}

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

.smoke {
  position: absolute;
  bottom: 10px;
  left: -15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  animation: smokeEffect 1.2s ease-out infinite;
}

@keyframes smokeEffect {
  0% {
    transform: translate(0, 0) scale(0.4);
    opacity: 0.8;
  }

  100% {
    transform: translate(-30px, -15px) scale(2);
    opacity: 0;
  }
}

.text-cartoon {
  color: #FFFFFF;
  text-shadow: 3px 3px 0px #C2185B, 0px 3px 5px rgba(0, 0, 0, 0.2);
  letter-spacing: 1.8px;
}

.main-title {
  position: absolute;
  top: 18px;
  left: 25px;
  font-size: 20px;
  transform: rotate(-2deg);
  z-index: 5;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  margin: 0 20px 20px 20px;
  box-shadow: 0 8px 0 #E0E0E0, 0 10px 20px rgba(0, 0, 0, 0.08);
  border: 4px solid white;
}

.card-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #E2E8F0;
}

.text-green {
  color: #00C853;
}

.text-red {
  color: #FF3D00;
}

.text-blue {
  color: #2979FF;
}

.text-yellow {
  color: #FFD600;
}

.text-purple {
  color: #AA00FF;
}

.form-group {
  margin-bottom: 12px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 3px solid #E2E8F0;
  border-radius: 14px;
  font-size: 14px;
  transition: all 0.2s ease;
  background: #F8F9FA;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.form-control:focus {
  outline: none;
  border-color: #2979FF;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(41, 121, 255, 0.2);
}

.relative {
  position: relative;
}

.suggestion-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #E2E8F0;
  border-top: none;
  border-radius: 0 0 14px 14px;
  max-height: 150px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.suggestion-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  border-bottom: 1px solid #F1F5F9;
}

.suggestion-item:hover {
  background: #E3F2FD;
  color: #2979FF;
}

.hidden {
  display: none !important;
}

.btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 12px;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, #4FC3F7, #2196F3);
  color: white;
}

.btn-success {
  background: linear-gradient(135deg, #69F0AE, #00C853);
  color: white;
}

.btn-danger {
  background: linear-gradient(135deg, #FF8A80, #FF3D00);
  color: white;
}

.btn-purple {
  background: linear-gradient(135deg, #EA80FC, #AA00FF);
  color: white;
}

.btn-secondary {
  background: #ECEFF1;
  color: #475569;
  box-shadow: 0 5px 0 #B0BEC5;
}

.btn-loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.fa-spin {
  animation: fa-spin 1s linear infinite;
}

@keyframes fa-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}

.summary-item {
  padding: 12px 8px;
  border-radius: 14px;
  text-align: center;
  border: 2px solid white;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
}

.summary-item .label {
  font-size: 11px;
  margin-bottom: 4px;
  opacity: 0.8;
}

.summary-item .value {
  font-size: 13px;
  word-break: break-word;
  white-space: pre-line;
  line-height: 1.3;
}

.bg-green {
  background: #C8E6C9;
  color: #2E7D32;
}

.bg-red {
  background: #FFCDD2;
  color: #C62828;
}

.bg-blue {
  background: #BBDEFB;
  color: #1565C0;
}

.sub-title {
  font-size: 13px;
  color: #475569;
  margin: 16px 0 10px 0;
}

.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tag {
  background: #ECEFF1;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  color: #37474F;
  border: 1px solid #CFD8DC;
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.item-row {
  background: #F8F9FA;
  border: 2px solid #ECEFF1;
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  font-size: 14px;
}

.item-row.item-note {
  white-space: pre-line;
  padding: 10px 12px;
  line-height: 1.4;
  font-size: 13px;
}

.item-row:hover {
  transform: scale(0.99);
  border-color: #B0BEC5;
}

.item-ready {
  background: #E8F5E9;
  border-color: #A5D6A7;
}

.item-buy {
  background: #FFFDE7;
  border-color: #FFF59D;
}

.item-note {
  background: #F3E5F5;
  border-color: #E1BEE7;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 20px;
  width: 90%;
  max-width: 380px;
  animation: modalIn 0.3s ease;
  border: 4px solid white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes modalIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-content h3 {
  font-size: 16px;
  color: #1E293B;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px dashed #E2E8F0;
}

.btn-group {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.btn-group .btn {
  margin: 0;
  font-size: 12px;
  padding: 8px;
}

.swal2-container {
  z-index: 999999 !important;
}