/* ===== STEP INDICATORS ===== */
.selected-item::before {
  content: "✔";
  color: green;
  margin-right: 8px;
  font-weight: bold;
}

.step-selected::before {
  content: "✔";
  color: green;
  margin-right: 8px;
  font-weight: bold;
}

/* ===== COST WINDOW (COLLAPSIBLE) ===== */
#costWindow {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

#costWindow.visible {
  opacity: 1;
  max-height: 500px;
  visibility: visible;
}

/* ===== SIDEBAR MENU ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #f7f7f7;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  padding: 2rem;
  transition: left 0.3s ease;
  z-index: 1001;
}

/* ===== FOOTER ===== */
footer {
  width: 100%;
  background-color: #333333;
  color: #ffffff;
  text-align: center;
  height: 5cm;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #ccc;
}

/* ===== PROGRESS BAR ===== */
.progress-wrapper {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.progress-container {
  width: 100%;
  background-color: #eee;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background-color: #c22e2e;
  transition: width 0.4s ease;
}

/* ===== MAIN LAYOUT ===== */
.main-container {
  display: flex;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.left-column {
  flex: 2;
  padding-right: 40px;
}

.right-column {
  flex: 1;
  background-color: #f9f9f9;
  padding: 30px;
  border-left: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ===== IMAGES ===== */
.mailing-image {
  max-width: 300px;
  margin-bottom: 20px;
}

/* ===== HEADINGS & TEXT ===== */
h1 {
  color: #c22e2e;
  font-size: 24px;
  margin-bottom: 10px;
}

.subtext {
  font-size: 15px;
  color: #444;
  margin-bottom: 30px;
  max-width: 600px;
}

.section-title {
  font-weight: bold;
  margin-bottom: 10px;
}

/* ===== OPTIONS (RADIOS & CHECKBOXES) ===== */
.option {
  margin-bottom: 20px;
}

.option label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: bold;
}

.option input[type="radio"],
.option input[type="checkbox"] {
  margin-top: 4px;
  accent-color: #c22e2e;
}

.option p {
  font-weight: normal;
  margin: 0;
  font-size: 14px;
  color: #555;
}

/* ===== STEP TRANSITIONS ===== */
.next-step {
  display: none;
  animation: fadeIn 0.6s ease forwards;
}

.fadeOut {
  animation: fadeOut 0.6s ease forwards;
}

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

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

/* ===== INFO SECTION ===== */
.info-section {
  border-top: 4px solid #333;
  padding-top: 20px;
  margin-top: 40px;
}

.info-section h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.info-section hr {
  margin: 10px 0 20px;
  border: none;
  border-bottom: 1px solid #aaa;
}

/* ===== FORMS ===== */
.form-step {
  max-width: 600px;
  margin: 0 auto;
}

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

.file-label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  nav ul { display: none; }
  .menu-toggle { display: block; }
}

/* ===== STEP INDICATOR CIRCLE ===== */
.step-indicator {
  width: 24px;
  height: 24px;
  background-color: #f5c000;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* ===== OPTION GROUPS ===== */
.option-group {
  margin-bottom: 25px;
}

.option-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

/* ===== SELECT DROPDOWN ===== */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding: 8px;
  border: none;
  border-bottom: 1px solid #999;
  appearance: none;
  background: transparent;
  font-size: 14px;
  color: #333;
}

.select-wrapper::after {
  content: '▾';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
}

/* ===== BUTTONS ===== */
.button {
  display: block;
  width: 100%;
  background-color: #c0392b;
  color: white;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.button:hover {
  background-color: #a93226;
}

/* Upload button */
.btn-upload {
  border: 1px solid #d0021b;
  color: #d0021b;
  background: #fff;
}

/* Back button */
.back-arrow {
  cursor: pointer;
  font-size: 20px;
  margin-bottom: 20px;
  display: inline-block;
  color: #c22e2e;
}

.btn-back {
  background-color: #ccc;
  color: #333;
  border: 1px solid #999;
}

.btn-back:hover {
  background-color: #bbb;
}

/* ===== ICONS ===== */
.info-icon {
  color: #d0021b;
  font-weight: bold;
  margin-left: 5px;
  border: 1px solid #d0021b;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-block;
  text-align: center;
  font-size: 12px;
  line-height: 14px;
  cursor: pointer;
}

/* ===== FILE INPUT ===== */
.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filename {
  flex-grow: 1;
  border: none;
  border-bottom: 1px solid #aaa;
  padding: 5px 0;
  font-style: italic;
}

/* ===== TOAST MESSAGES ===== */
.toast-adressen {
  display: flex;
  align-items: center;
  background-color: #666666;
  color: white;
  padding: 12px 16px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  max-width: 320px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 190px;
  left: 20px;
  z-index: 9999;
}

.toast-adressen .icon-circle {
  width: 24px;
  height: 24px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}

.toast-adressen .icon-circle svg {
  width: 14px;
  height: 14px;
  fill: #8B0000;
}

.toast-adressen .text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.4;
}

.toast-messageemail {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  animation: fadeInOut 4s ease-in-out;
}

.toast-message {
  position: fixed;
  top: 100px;
  right: 1000px;
  background-color: #c22e2e;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  opacity: 0;
  animation: fadeInOut 4s ease forwards;
}

.toast-message1 {
  position: fixed;
  top: 100px;
  right: 1150px;
  background-color: #ff0400;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  opacity: 0;
  animation: fadeInOut 4s ease forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(20px); }
}

/* ===== STEP BACK ARROW ===== */
.step-back-arrow {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #c22e2e;
  cursor: pointer;
  z-index: 2000;
  background: white;
  border: 2px solid #c22e2e;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 35px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

/* ===== MAILING TITLE & ICONS ===== */
.mailing-title {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: Arial, sans-serif;
}

.arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.arrow-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.arrow-icon.rotated svg {
  transform: rotate(180deg);
}

/* ===== CUSTOM RADIO & CHECKBOX STYLES ===== */
.option input[type="radio"],
.option input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #999;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  position: relative;
  outline: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.option input[type="radio"]:checked,
.option input[type="checkbox"]:checked {
  border-color: #666;
}

.option input[type="radio"]:checked::before,
.option input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #444;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* ===== LEAVE / ADDRESS POPUPS ===== */
.leave-popup {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  margin: 15% auto;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  font-family: Arial, sans-serif;
}

.leave-popup h3 {
  color: #c22e2e;
  margin-bottom: 15px;
  font-size: 20px;
}

.leave-popup p {
  font-size: 15px;
  color: #333;
  margin-bottom: 25px;
}

.popup-buttons {
  display: flex;
  justify-content: space-around;
  gap: 15px;
}

#leave-warning,
#adress-warning {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
}
.select-field {
    width: 100%;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #aaa;
    font-size: 14px;
}
