/* ========== Card wrapper ========== */
.form-style-2 {
    max-width: 640px;
    margin: 0 auto 2rem;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
}

.form-style-2-heading {
    font-size: 1.15rem;
    font-weight: 600;
    margin: .25rem 0 1rem;
}

/* ========== Error banner (red bar) ========== */
.nuu-res-alert {
    background: #fff6f6;
    border: 1px solid #e0b4b4;
    color: #9f3a38;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    border-radius: .5rem;
}

/* ========== Labels & fields ========== */
.form-style-2 label {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(44px, auto);
    gap: 6px;
    margin-bottom: 14px;
}

.form-style-2 label>span {
    font-size: .95rem;
    color: #333;
}

.form-style-2 .input-field,
.form-style-2 input[type="text"],
.form-style-2 input[type="tel"],
.form-style-2 input[type="email"],
.form-style-2 input[type="number"] {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    line-height: 44px;
    padding: 0 42px 0 12px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    outline: none;
    transition: border .15s ease, box-shadow .15s ease;
}

.form-style-2 input.flatpickr-input {
    height: 44px;
    line-height: 44px;
}

.form-style-2 input:focus-visible,
.form-style-2 input:focus {
    border-color: #8ab4f8;
    box-shadow: 0 0 0 3px rgba(138, 180, 248, .25);
}

@media (max-width: 420px) {
    .form-style-2 {
        padding: 16px 14px;
    }

    .form-style-2 .input-field,
    .form-style-2 input[type="text"],
    .form-style-2 input[type="tel"],
    .form-style-2 input[type="email"],
    .form-style-2 input[type="number"] {
        height: 42px;
        line-height: 42px;
    }
}

/* ========== Calendar icon ========== */
.form-style-2 label .fa-calendar {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    justify-self: end;
    align-self: center;
    margin-right: 12px;
    font-size: 16px;
    color: #666;
    pointer-events: none;
}

/* ========== Submit button (form page) ========== */
.form-style-2 input[type="submit"],
.form-style-2 button[type="submit"] {
    display: inline-block;
    height: 42px;
    line-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    background: #ff8500;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.form-style-2 input[type="submit"]:disabled,
.form-style-2 button[type="submit"]:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ========== Summary page styles ========== */
.nuu-summary-wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 8px;
}

.nuu-summary-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    padding: 16px;
}

.nuu-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.nuu-col-right {
    text-align: right;
}

.nuu-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
}

.nuu-row span {
    color: #64748b;
}

.nuu-row strong {
    color: #1f2d3d;
}

.nuu-sep {
    border-top: 1px solid #e8edf4;
    margin: 8px 0;
}

.nuu-total {
    border-top: 1px solid #e8edf4;
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 700;
}

/* Stack the finalize section vertically and add extra top spacing */
.nuu-finalize {
  margin-top: 18px;              /* extra space between the note and checkboxes */
  display: flex;
  flex-direction: column;        /* stack children (checkboxes + button) */
  align-items: flex-start;
  gap: 10px;                     /* space between the two checkboxes and the button */
  justify-content: flex-start;   /* override any previous space-between */
}

/* Make checkbox labels look like .nuu-note, on their own lines, slightly larger */
label.nuu-note {
  display: flex;                 /* keep checkbox + text aligned */
  align-items: flex-start;
  gap: 8px;
  color: #64748b;                /* same as .nuu-note */
  font-size: 1rem;            /* slightly larger text */
  line-height: 1.35;
}

/* Align the checkbox nicely with the text */
label.nuu-note input[type="checkbox"] {
  margin-top: 3px;
}

/* Keep the primary button on its own line and aligned with the labels */
.nuu-btn-primary {
  align-self: flex-start;
  margin-top: 4px;               /* tiny separation from the last checkbox */
}


/* Primary button (summary) */
.nuu-btn-primary {
    background: #FF8500;
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
}

.nuu-btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .nuu-summary-grid {
        grid-template-columns: 1fr;
    }

    .nuu-col-right {
        text-align: left;
    }
}