/* General Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
}

.container {
  max-width: 800px;
  margin: 0 auto 20px;
  padding: 0px 20px 0px 20px ;
  box-sizing: border-box;
  page-break-inside: avoid;
  break-inside: avoid;
  overflow: hidden;
  break-before: page;
}

.container2 {
  max-width: 900px;
 
  margin: 0 auto 20px;
  padding-left: 20px;
  padding-right: 20px;
  border: 1px solid #000;
  page-break-inside: avoid;
  break-inside: avoid;
  break-before: page;
}

/* Header */
header {
  display: none;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
  padding: 20px;
  
}

.logo img {
  height: 60px;
}

.contact {
  text-align: right;
  font-size: 14px;
}

.contact strong {
  color: #0074b7;
}

/* Image Upload */
.image-upload {
  text-align: center;
  margin: auto;
}

.image-upload img {
  width: 200mm;
  max-height: 300px;
  display: block;
}

.image-upload input {
  display: none;
}

/* Titles */
.title {
  text-align: center;
}

.title h1 {
  color: #f7944d;
  font-size: 36px;
  margin-top: 20px;
}

.title p {
  margin-top: 5px;
  color: #333;
  font-size: 15px;
}

.section-title {
  font-size: 24px;
  color: #f7944d;
  font-weight: bold;
  margin: 01px 0 10px;
}

.day-heading {
  font-weight: bold;
  font-size: 20px;
}

.highlight {
  color: #f7944d;
}

/* Info & Content Boxes */
.info-box,
.content-box,
.package-cost {
  border: 2px solid #000;
  border-radius: 12px;
  padding: 15px 40px;
  margin: 20px 0;
  font-size: 19px;
  max-width: 800px;
  margin: 0 auto 20px;
  
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.info-row div:first-child {
  font-weight: bold;
}

.package-cost {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 26px;
  color: #000;
}

.package-cost span:first-child {
  color: #f7944d;
}

.content-box ul {
  padding-left: 20px;
}

.content-box ol li {
  margin-bottom: 10px;
  line-height: 1.6;
  padding-left: 10px;
}

.content-box ol li::marker {
  color: #f7944d;
}



/* Buttons */
.btn,
.section-header button,
.buttons button {
  background: linear-gradient(to right, #66d2ff, #004aad);
      color: white;
      border: none;
      padding: 8px 16px;
      border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  margin: 10px 5px 20px 0;
  
}

.section-header button {
  background: linear-gradient(to right, #0074b7, #00c4ff);
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.buttons button:nth-child(1) {
  background: #00b3ad;
}

/* Editable Highlight */
[contenteditable]:focus {
  outline: 2px dashed #f7944d;
}

/* Footer */
footer,
.footer-note {
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  margin-top: 30px;
  color: #333;
  display: none;
}

/* Removable Items */
.removable {
  display: flex;
  justify-content: space-between;
  border: 1.5px solid #000;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  position: relative;
}

.remove-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

/* Section Header */


/* Lists */
ol {
  margin-top: 10px;
}
.content-box ol li::marker {
  color: #f7944d;
  content: '♦'; 
  margin-right: 20px;
  margin-left: 20px;
}

/* Headings */
h2 {
  text-align: center;
  margin-top: 40px;
  font-size: 28px;
  color: #f7944d;
  z-index: 99;
}

/* Print Media */
@media print {
  /* Reset unnecessary constraints */
  .container,
  .container2 {
    break-inside: auto !important;
    page-break-inside: auto !important;
    break-before: auto !important;
    overflow: visible !important;
  }

  .content-box {
    page-break-inside: avoid;
    break-inside: avoid;
    border: 1px solid #000;
    padding: 10px;
    margin-bottom: 20px;
    overflow: visible !important;
  }

  ul, ol {
    margin: 0;
    padding-left: 20px;
    color: #f7944d;
  content: '♦'; 
  }
  .content-box ol li::marker {
  color: #f7944d;
  content: '♦'; 
  margin-right: 20px;
  margin-left: 20px;
}

  li {

    margin-bottom: 20px;
    padding-left: 20px;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    display: block;
    overflow: visible !important;
    position: relative;
  }

  li * {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    overflow: visible !important;
    position: relative;
  }
  

.section-block {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    display: block;
  }

  .section-header,
  .section-header h2 {
    page-break-inside: avoid !important;
    page-break-after: avoid !important;
    break-after: avoid !important;
    display: block;
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .content-box,
  .content-box ol,
  .content-box ol li {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .removable {
    page-break-inside: avoid;
  }

  /* Optional: Ensure no blank space after section titles */
  .section-header + .content-box {
    page-break-before: auto;
  }
}
.itinerary-name1 {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    display: block;
  }

  .day-title-name1,
  .itinerary-content,
  .itinerary-name1 * {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .itinerary-name1 {
    margin-bottom: 20px;
  }

