@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,700');


.wizard-tabs {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 4rem;
    background: white;
    border-bottom: 2px solid var(--sky);
    overflow: hidden;
}

.wizard-tab {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    position: relative;
}

.wizard-tab-number {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    border-radius: 50%;
    background: var(--sky);
    color: white;
    margin-right: 0.5rem;
}

.wizard-tab.active .wizard-tab-number {
    background: var(--gold);
}

.wizard-tab.completed .wizard-tab-number {
    background: var(--navy);
}

/* Indicator circle under the active tab */
.tabs-indicator {
    position: absolute;
    top: 100%;
    left: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gold);
    transform: translateY(-50%);
    z-index: -1;
    visibility: hidden;
}



#hand-svg {
    position: absolute;
    height: 90%;

    width: auto;
    pointer-events: none;
    z-index: 5;
    transition: transform 0.6s cubic-bezier(.68,-0.55,.27,1.55);
}

/* Phones: the labels wrap and the strip gets taller, so a hand at 90% covered the step's label */
@media (max-width: 576px) {
    .wizard-tab { padding: 1rem .25rem; }
    .wizard-tab-number { display: block; margin: 0 auto .25rem; }
    /* the same hand as on wider screens: 2.25x the number's circle, fingers around it (wizard.js places it) */
    #hand-svg { height: 4.5rem; top: -4px; }
    .wizard-tab-label { position: relative; z-index: 6; }  /* the step's name stays readable over the wrist */
}

@import url('https://fonts.googleapis.com/css?family=Noto+Sans:400,700');

/* Color Variables */
:root {
    --deep-sea: #09334f;
    --navy: #3a5e77;
    --sky: #a9ddf3;
    --light-sky: #ddf1fa;
    --cherry: #ea6e6e;
    --gold: #e8d170;
    --light-gray: #f8f9fa;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Noto Sans', sans-serif;
    background: var(--navy);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Wizard Container */
.wizard-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
}

/* Header */
.wizard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.wizard-header h1 {
    color: var(--sky);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.wizard-header p {
    color: var(--light-sky);
    font-size: 1.1rem;
}

/* Content Area */
.wizard-content {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    flex: 1;
}

.step-title {
    color: var(--deep-sea);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea,.select2-container--default .select2-selection--single {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--sky);
    border-radius: 6px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,.select2-container--default.select2-container--focus .select2-selection--single {
    outline: none;
    border-color: var(--navy);
}

/* Error Messages */
.errorlist {
    list-style: none;
    color: var(--cherry);
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Formset Styles */
.formset-container {
    margin-top: 1.5rem;
}

.formset-row {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--sky);
    position: relative;
}

.formset-row h4 {
    color: var(--navy);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

/* Info Boxes */
.info-box {
    background-color: #e8f4f8;
    border-left: 4px solid var(--navy);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.info-box h5 {
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--deep-sea);
    margin: 0;
    font-size: 0.95rem;
}

/* Pagination/Navigation */
.wizard-navigation {
    margin-top: 2rem;
}



/* Buttons */
.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    /*border-top: 2px solid var(--sky);*/
}

.btn {
    padding: 0.875rem 2rem;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--navy);
    color: white;
}

.btn-primary:hover {
    background-color: var(--deep-sea);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 94, 119, 0.4);
}

.btn-secondary {
    background-color: var(--sky);
    color: var(--deep-sea);
}

.btn-secondary:hover {
    background-color: var(--light-sky);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success Page */
.success-container {
    max-width: 600px;
    background: white;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background-color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.success-icon svg {
    width: 60px;
    height: 60px;
    fill: white;
}

.summary-box {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.summary-box h3 {
    color: var(--navy);
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    color: #6c757d;
    font-weight: 600;
}

.summary-value {
    color: var(--deep-sea);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wizard-content {
        padding: 2rem 1.5rem;
    }



    .form-row {
        grid-template-columns: 1fr;
    }

    .time-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .wizard-header h1 {
        font-size: 2rem;
    }

    .step-title {
        font-size: 1.5rem;
    }

    .wizard-content {
        padding: 1.5rem 1rem;
    }
}
/* 1. Change the main container height */
.select2-container--default .select2-selection--single {
    height: 45px !important;
    display: flex;
    align-items: center; /* This centers the text vertically */
}

/* 2. Center the "Rendered" text (the selected value) */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px !important;
    padding-left: 12px !important;
}

/* 3. Center the dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 45px !important;
    top: 0 !important;
    right: 5px !important;
}
  .section {
      margin-bottom: 2rem;
  }
    .section-label {
        font-size: 0.7rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: #6c757d;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
      .section-label::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #09334f;
      }

/* Visitors without an account (an event sign-up link): the public layout has no sidebar column to frame the
   wizard, so it gets its own margins. */
.wizard-page.is-guest {
    max-width: 1140px;
    margin: 1.5rem auto 2.5rem;
    padding: 0 1rem;
}
