/*
 * Nu Taxi Plugin Styles
 * Version 2.1.1 - Clean Stops
 */

#nutaxi-wrapper {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  max-width: 600px; /* mag blijven, is geen kaart-styling */
  margin: 0 auto;   /* minder spacing */
  border-top: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

.nt-step-nav {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.nt-btn-secondary {
  background: #f0f0f0;
  color: #111;
  border: 1px solid #ddd;
  text-transform: none;
  letter-spacing: 0;
}

.nt-btn-secondary:hover {
  background: #e7e7e7;
}


#nutaxi-wrapper * {
  box-sizing: border-box;
}

.nt-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.nt-col {
  flex: 1;
}

.nt-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
  font-size: 14px;
}

.nt-field input[type="text"],
.nt-field input[type="email"],
.nt-field input[type="tel"],
.nt-field input[type="number"],
.nt-field input[type="date"],
.nt-field input[type="time"],
.nt-field select,
.stop-input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  line-height: normal;
  transition: all 0.2s;
  background-color: #fff;
  color: #333;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.nt-field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  padding-right: 40px;
}

.nt-field input:focus,
.nt-field select:focus,
.stop-input:focus {
  border-color: #ffcc00;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.1);
}

.nt-btn {
  width: 100%;
  background: #000;
  color: #ffcc00;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  height: 54px;
}
.nt-btn:hover {
  background: #333;
}

#nt-msg {
  display: none;
  padding: 15px;
  margin-top: 20px;
  text-align: center;
  border-radius: 8px;
  font-weight: 500;
}
.nt-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.nt-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* STOPS */
.nt-stop-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px; /* Margin to separate rows */
  align-items: center;
}
.stop-input {
  flex-grow: 1;
}

.nt-remove-stop {
  background: #ff4444;
  color: #fff;
  border: none;
  width: 48px;
  height: 48px; /* Match input height */
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  font-size: 18px;
}
.nt-remove-stop:hover {
  background: #cc0000;
}

#add-stop-btn {
  background: #f0f0f0;
  border: 1px dashed #ccc;
  padding: 12px;
  width: 100%;
  text-align: center;
  border-radius: 8px;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
  transition: 0.2s;
  height: 48px;
}
#add-stop-btn:hover {
  background: #e0e0e0;
  color: #333;
}

/* Other UI elements (Price, Options) */
#nt-price-box {
  background: #fff9e6;
  padding: 20px;
  text-align: center;
  border: 1px solid #ffeb99;
  border-radius: 8px;
  margin: 25px 0;
  display: none;
}
#disp-price {
  font-size: 24px;
  color: #000;
}

.nt-opt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  min-height: 48px;
}
.nt-opt-row label {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
}
.nt-counter {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nt-cnt-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nt-cnt-btn:hover {
  background: #eee;
  border-color: #ccc;
}
.nt-extra-num {
  width: 40px !important;
  height: 32px !important;
  text-align: center;
  border: none !important;
  background: transparent !important;
  font-weight: bold;
  padding: 0 !important;
}
.nt-checkbox-wrap {
  display: flex;
  align-items: center;
  min-height: 24px;
}
.nt-checkbox-wrap input {
  width: 20px !important;
  height: 20px !important;
  margin-right: 12px;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.nt-card-option {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  padding: 12px 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: 0.2s;
  min-height: 48px;
}
.nt-card-option:hover {
  background: #f0f0f0;
}
.nt-card-option input {
  width: 20px !important;
  height: 20px !important;
  margin-right: 12px;
}
.flight-box {
  display: none;
  background: #e3f2fd;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #bbdefb;
}

@media (max-width: 600px) {
  .nt-row {
    flex-direction: column;
    gap: 15px;
  }
  #nutaxi-wrapper {
    padding: 20px;
  }
}

/* Minor spacing polish */
#nutaxi-wrapper .nt-field {
  margin-bottom: 18px;
}
#nutaxi-wrapper #extra-options-container {
  margin-top: 6px;
}
#nutaxi-wrapper #extra-options-container .nt-opt-row {
  margin-bottom: 10px;
}
#nutaxi-wrapper #nt-price-box {
  margin: 18px 0;
}

/* Step indicator */
.nt-step-indicator{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 0 0 14px 0;
}

.nt-step-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#ddd;
  display:inline-block;
}

.nt-step-dot.is-active{
  background:#ffcc00;
}

.nt-step-text{
  font-weight:700;
  font-size:14px;
  color:#111;
}

/* Disabled button */
.nt-btn[disabled],
.nt-btn[aria-disabled="true"]{
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(0.2);
}
