.row-mb-12 {
    margin-bottom: 12px;
}

.row-mb-24 {
    margin-bottom: 24px;
}

.member-form .row {
    margin-bottom: 30px;
}

.member-form hr {
    margin-bottom: 20px;
}

.text-muted {
    font-size: 12px;
    line-height: 1.3;
    color: rgb(34, 34, 34, 0.8);
    margin: 2px 0;
    display: block;
}

.form-wrapper input[type="file" i]::-webkit-file-upload-button {
    background-color: #222222;
    color: #fefefe;
    border: none;
    outline: none;
    padding: 4px 10px;
    margin-top: 4px;
    font-size: 14px;
}

.d-none {
    display: none;
}

textarea:not(.select2-search__field) {
    resize: none;
    height: 100%;
    max-height: 190px;
}

.table-wrapper table {
    text-wrap: nowrap;
}

.switch-wrapper {
    display: flex;
    align-items: center;
}

.switch-wrapper .main-label {
    position: static;
}

.form-wrapper .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    pointer-events: all;
    transform: none;
}

.form-wrapper .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.form-wrapper .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.form-wrapper .slider::before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.form-wrapper input:checked + .slider {
    background-color: #956002;
}

.form-wrapper input:focus + .slider {
    box-shadow: 0 0 1px #956002;
}

.form-wrapper input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.form-wrapper .slider.round {
    border-radius: 34px;
}

.form-wrapper .slider.round:before {
    border-radius: 50%;
}

.event-card .event-info p {
    font-size: 16px;
    line-height: 1.3;
    color: #fefefe;
}

@media screen and (min-width: 1520px) {
    .event-card .event-info p {
        font-size: 18px;
    }
}

/* Uniform Leader and Member Card Sizing */
.col-one-fifth,
.col-one-fourth {
    display: flex;
    flex-direction: column;
}

.leader-card,
.member-card {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.leader-card > a,
.member-card > a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.leader-card .img-wrapper,
.member-card .img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f3f4f6;
    line-height: 0;
}

.leader-card .img-wrapper img,
.member-card .img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 8px;
    display: block;
}

.leader-card .leader-info,
.member-card .member-info {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.leader-card .leader-info > a,
.member-card .member-info > a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1 1 auto;
}

.leader-card .leader-info span,
.member-card .member-info span {
    min-height: 22px;
}

.leader-card .leader-info h6,
.member-card .member-info h6 {
    margin-bottom: 0;
}

.leader-card .leader-info .contact-info,
.member-card .member-info .contact-info {
    margin-top: auto;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    padding-top: 10px;
}

.leader-card .leader-info .contact-info a,
.member-card .member-info .contact-info a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
}

.leader-card .leader-info .contact-info a img,
.member-card .member-info .contact-info a img {
    width: 37px;
    height: 37px;
    display: block;
}

.event-card .event-info .primary-btn {
    margin-top: auto;
}

.alert-success,
.alert-danger {
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    color: #fefefe;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
}

.alert-success {
    background-color: #956002;
}

.alert-danger {
    background-color: #dc2626;
}

@media screen and (min-width: 1280px) {
    .alert-success,
    .alert-danger {
        font-size: 18px;
    }
}

.footer-member-form .alert {
    max-width: 580px;
    margin-bottom: 16px;
    margin-left: 0;
    margin-right: auto;
}

.description-section ul,
.description-section ol {
    list-style-position: inside;
}

.required-field {
    color: red;
    font-weight: bolder;
}

/* Form Section Cards */
.form-section-card,
.pass-repeater {
    background: #ffffff;
    border: 1.5px solid #c5a359;
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(197, 163, 89, 0.04);
    transition: all 0.3s ease;
    position: relative;
}

@media screen and (max-width: 768px) {
    .form-section-card,
    .pass-repeater {
        padding: 20px 16px;
        border-radius: 16px;
    }
}

.checkout-subheading {
    font-size: 14.5px;
    color: #555555;
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.section-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 4px;
    user-select: none;
}

.section-card-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.step-num-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #9d7b32;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.section-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #2a2421;
    margin: 0;
    font-family: inherit;
    line-height: 1.2;
}

.section-card-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444444;
    transition:
        transform 0.3s ease,
        color 0.2s ease;
}

.section-card-toggle:hover {
    color: #222222;
}

.form-section-card.is-collapsed .section-card-toggle {
    transform: rotate(180deg);
}

.form-section-card.is-collapsed .section-card-body {
    display: none;
}

.section-card-body {
    transition: all 0.3s ease;
}

/* Modern Form Group & Labels
 * These selectors load after custom-page.css and override the floating-label
 * styles. Specificity is identical so source order wins — no !important needed.
 */
.form-wrapper .form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

/* Override floating-label positioning from custom-page.css */
.form-wrapper .form-group label:not(.radio-label-cst):not(.filelabel) {
    position: static;
    transform: none;
    background: transparent;
    font-size: 13.5px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.3;
    pointer-events: auto;
    display: block;
    order: 1;
    width: auto;
    z-index: 1;
}

/* Input Fields (Text, Email, Tel, etc.) */
.form-wrapper
    .form-group
    .user-input:not([type="checkbox"]):not([type="radio"]):not(
        [type="file"]
    ):not(textarea):not(select),
.form-wrapper .form-group select.user-input {
    order: 2;
    height: 50px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background-color: #ffffff;
    padding: 10px 16px;
    font-size: 15px;
    line-height: 1.4;
    color: #1e293b;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
    width: 100%;
}

.form-wrapper .form-group .user-input::placeholder {
    color: #94a3b8;
    font-size: 14.5px;
    opacity: 1;
}

.form-wrapper .form-group .user-input:focus {
    border-color: #2e7d5b;
    box-shadow: 0 0 0 3px rgba(46, 125, 91, 0.08);
}

/* Valid Input State with Green Border and Checkmark Icon */
.form-wrapper .form-group .user-input.is-valid,
.form-wrapper
    .form-group
    .user-input[readonly]:not([type="button"]):not([type="submit"]):not(
        [readonly="false"]
    ):not([readonly="0"]):not(.datepicker) {
    border-color: #2e7d5b;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='11' cy='11' r='10' fill='%23E8F5E9'/%3E%3Cpath d='M7 11.2L9.6 13.8L15 8.5' stroke='%232E7D5B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 22px 22px;
    padding-right: 44px;
}

/* Invalid Input State */
.form-wrapper .form-group .user-input.is-invalid {
    border-color: #e53e3e;
    background-image: none;
}

/* Phone Input Group */
.form-wrapper .form-group .phone-input-group {
    order: 2;
    display: flex;
    align-items: center;
    height: 50px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background-color: #ffffff;
    position: relative;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    width: 100%;
}

.form-wrapper .form-group .phone-input-group:focus-within {
    border-color: #2e7d5b;
    box-shadow: 0 0 0 3px rgba(46, 125, 91, 0.08);
}

.form-wrapper .form-group .phone-input-group.is-valid {
    border-color: #2e7d5b;
}

.form-wrapper .form-group .phone-input-group.is-invalid {
    border-color: #e53e3e;
}

.form-wrapper .phone-input-group .country-prefix {
    padding-left: 16px;
    font-weight: 600;
    font-size: 15px;
    color: #222222;
    user-select: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.form-wrapper .phone-input-group .phone-divider {
    width: 1px;
    height: 22px;
    background-color: #e2e8f0;
    margin: 0 12px;
    flex-shrink: 0;
}

.form-wrapper .form-group .phone-input-group .user-input {
    border: none;
    box-shadow: none;
    background: transparent;
    background-color: transparent;
    height: 100%;
    padding: 0 44px 0 0;
    font-size: 15px;
    flex: 1;
    outline: none;
    background-image: none;
}

.form-wrapper .form-group .phone-input-group .user-input.is-valid {
    border: none;
    box-shadow: none;
    background: transparent;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='11' cy='11' r='10' fill='%23E8F5E9'/%3E%3Cpath d='M7 11.2L9.6 13.8L15 8.5' stroke='%232E7D5B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 22px 22px;
    padding-right: 44px;
}

.form-wrapper .form-group .phone-input-group .user-input.is-invalid {
    border: none;
    box-shadow: none;
    background: transparent;
    background-color: transparent;
    background-image: none;
    padding-right: 44px;
}

/* Textarea */
.form-wrapper .form-group textarea.user-input,
.form-wrapper .form-group textarea {
    order: 2;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background-color: #ffffff;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #1e293b;
    outline: none;
    min-height: 90px;
    max-height: 200px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
    width: 100%;
}

.form-wrapper .form-group textarea:focus {
    border-color: #2e7d5b;
    box-shadow: 0 0 0 3px rgba(46, 125, 91, 0.08);
}

.form-wrapper .form-group textarea.is-valid {
    border-color: #2e7d5b;
}

/* Modern File Upload */
.form-wrapper .form-group .file-uplaod {
    order: 2;
    min-height: 56px;
    height: auto;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    background-color: #fafbfb;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    user-select: none;
}

.form-wrapper .form-group .file-uplaod:hover {
    border-color: #c5a359;
    background-color: #fcfbfa;
    box-shadow: 0 2px 8px rgba(197, 163, 89, 0.08);
}

.form-wrapper .form-group .file-uplaod.is-dragover {
    border-color: #2e7d5b;
    border-style: solid;
    background-color: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(46, 125, 91, 0.12);
}

.form-wrapper .form-group .file-uplaod.has-file {
    border-color: #2e7d5b;
    border-style: solid;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(46, 125, 91, 0.06);
}

.form-wrapper .form-group .file-uplaod .file-info {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.form-wrapper .form-group .file-uplaod .file-info.selected-view {
    display: none;
}

.form-wrapper .form-group .file-uplaod.has-file .file-info.default-view {
    display: none !important;
}

.form-wrapper .form-group .file-uplaod.has-file .file-info.selected-view {
    display: flex !important;
}

.form-wrapper .form-group .file-uplaod .file-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fdf8ed;
    color: #9d7b32;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.form-wrapper .form-group .file-uplaod:hover .file-icon-box {
    background: #c5a359;
    color: #ffffff;
}

.form-wrapper .form-group .file-uplaod .file-icon-box.has-file-icon {
    background: #ecfdf5;
    color: #2e7d5b;
}

.form-wrapper .form-group .file-uplaod .file-icon-box svg,
.form-wrapper .form-group .file-uplaod .file-icon-box i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.form-wrapper .form-group .file-uplaod .file-text-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.form-wrapper .form-group .file-uplaod .file-title {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    line-height: 1.3;
}

.form-wrapper .form-group .file-uplaod .file-hint {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.2;
    margin-top: 2px;
}

.form-wrapper .form-group .file-uplaod .selected-filename {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.form-wrapper .form-group .file-uplaod .selected-filesize {
    font-size: 11.5px;
    font-weight: 500;
    color: #2e7d5b;
    margin-top: 2px;
}

.form-wrapper .form-group .file-uplaod .file-browse-btn {
    font-size: 12px;
    font-weight: 600;
    color: #785a18;
    background: #fdf6e7;
    border: 1px solid rgba(197, 163, 89, 0.4);
    padding: 5px 12px;
    border-radius: 6px;
    flex-shrink: 0;
    pointer-events: none;
    transition: all 0.2s ease;
}

.form-wrapper .form-group .file-uplaod:hover .file-browse-btn {
    background: #c5a359;
    color: #ffffff;
    border-color: #c5a359;
}

.form-wrapper .form-group .file-uplaod .file-remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    pointer-events: auto !important;
    transition: all 0.2s ease;
    padding: 0;
    margin-left: auto;
}

.form-wrapper .form-group .file-uplaod .file-remove-btn svg,
.form-wrapper .form-group .file-uplaod .file-remove-btn i {
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.form-wrapper .form-group .file-uplaod .file-remove-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: scale(1.08);
}

.form-wrapper .form-group .file-uplaod *:not(.file-remove-btn) {
    pointer-events: none;
}

.form-wrapper .form-group input[type="file"].user-input {
    display: none;
}

/* Datepicker */
.form-wrapper .form-group .user-input.datepicker {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
    padding-right: 42px;
}

.form-wrapper .form-group .user-input.datepicker.is-valid {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='11' cy='11' r='10' fill='%23E8F5E9'/%3E%3Cpath d='M7 11.2L9.6 13.8L15 8.5' stroke='%232E7D5B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 22px 22px;
}

::placeholder,
textarea {
    font-family: "Manrope", sans-serif;
}

.member-details-section .social-link {
    text-decoration: none;
    color: inherit;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.member-details-section .social-link:hover {
    color: #030303;
    transform: scale(1.2);
    font-weight: bold;
}

.member-details-section .social-link img {
    transition: transform 0.3s ease;
}

.member-details-section .social-link:hover img {
    transform: scale(1.2);
}

#otpVerification {
    margin-top: 15px;
}

.pointer {
    cursor: pointer;
}

/* Modern Select2 Styling (Single, Multiple & Dropdown) */
.select2-container {
    width: 100% !important;
}

.form-wrapper .select2-container {
    order: 2;
    width: 100% !important;
}

/* Single Select */
.form-wrapper .select2-container--default .select2-selection--single {
    height: 50px;
    min-height: 50px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    padding: 0 16px;
    display: flex;
    align-items: center;
    position: relative;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-wrapper
    .select2-container--default.select2-container--focus
    .select2-selection--single,
.form-wrapper
    .select2-container--default.select2-container--open
    .select2-selection--single {
    border-color: #c5a359;
    box-shadow: 0 0 0 3.5px rgba(197, 163, 89, 0.12);
}

.form-wrapper
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #1e293b;
    font-size: 14.5px;
    line-height: 48px;
    padding: 0 28px 0 0;
    margin: 0;
    display: block;
    width: 100%;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-wrapper
    .select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: #94a3b8;
    font-size: 14px;
}

.form-wrapper
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 48px;
    position: absolute;
    top: 0;
    right: 14px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-wrapper
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: #64748b transparent transparent transparent;
    border-width: 5px 4.5px 0 4.5px;
}

.form-wrapper
    .select2-container--default.select2-container--open
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: transparent transparent #64748b transparent;
    border-width: 0 4.5px 5px 4.5px;
}

/* Multiple Select Container */
.form-wrapper .select2-container--default .select2-selection--multiple {
    min-height: 52px;
    height: auto;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background-color: #ffffff;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-wrapper
    .select2-container--default.select2-container--focus
    .select2-selection--multiple,
.form-wrapper
    .select2-container--default.select2-container--open
    .select2-selection--multiple {
    border-color: #c5a359;
    box-shadow: 0 0 0 3.5px rgba(197, 163, 89, 0.12);
}

.form-wrapper
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Selected Choices / Tags / Pills */
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    display: inline-flex !important;
    align-items: center !important;
    background: #fdf8ed !important;
    border: 1px solid rgba(197, 163, 89, 0.45) !important;
    border-radius: 20px !important;
    padding: 4px 12px 4px 8px !important;
    margin: 2px 2px 2px 0 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #785a18 !important;
    line-height: 1.3 !important;
    box-shadow: 0 1px 3px rgba(197, 163, 89, 0.08);
    transition: all 0.15s ease;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice:hover {
    background: #f8edd1 !important;
}

/* Choice Remove Button (x) */
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    margin-right: 6px !important;
    margin-left: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: rgba(197, 163, 89, 0.25) !important;
    color: #785a18 !important;
    font-size: 13px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    cursor: pointer;
    padding: 0 !important;
    float: none !important;
    position: static !important;
    transition: all 0.15s ease;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
}

/* Inline Search Input inside Multiple Select */
.select2-container--default
    .select2-selection--multiple
    .select2-search--inline {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-search--inline
    .select2-search__field,
.select2-container--default textarea.select2-search__field {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 14px !important;
    color: #1e293b !important;
    margin: 0 !important;
    padding: 2px 6px !important;
    height: 30px !important;
    min-height: 0 !important;
    max-height: 30px !important;
    line-height: 26px !important;
    width: auto !important;
    min-width: 120px !important;
    resize: none !important;
    overflow: hidden !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-search--inline
    .select2-search__field::placeholder {
    color: #94a3b8;
    font-size: 14px;
}

/* Dropdown Container (Appended to body!) */
.select2-dropdown {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow:
        0 14px 35px -4px rgba(15, 23, 42, 0.12),
        0 4px 12px -2px rgba(15, 23, 42, 0.05) !important;
    background: #ffffff !important;
    overflow: hidden !important;
    z-index: 99999 !important;
}

.select2-container--open .select2-dropdown--below {
    border-top: none !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    margin-top: 3px;
}

.select2-container--open .select2-dropdown--above {
    border-bottom: none !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-bottom: 3px;
}

/* Dropdown Search Box */
.select2-container--default .select2-search--dropdown {
    padding: 10px 12px !important;
    background-color: #fafbfb;
    border-bottom: 1px solid #f1f5f9;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
    outline: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.select2-container--default
    .select2-search--dropdown
    .select2-search__field:focus {
    border-color: #c5a359 !important;
    box-shadow: 0 0 0 3px rgba(197, 163, 89, 0.12) !important;
}

/* Results List */
.select2-container--default .select2-results__options {
    padding: 6px !important;
    max-height: 250px !important;
}

.select2-container--default .select2-results__option {
    padding: 9px 14px !important;
    font-size: 14px !important;
    color: #334155 !important;
    border-radius: 8px !important;
    margin-bottom: 2px !important;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease !important;
}

.select2-container--default
    .select2-results__option--highlighted[aria-selected] {
    background-color: #c5a359 !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f8fafc !important;
    color: #94a3b8 !important;
}

.select2-container--default
    .select2-results__option--highlighted[aria-selected="true"] {
    background-color: #b8964d !important;
    color: #ffffff !important;
}

.select2-container--default .select2-results__message {
    color: #94a3b8 !important;
    padding: 12px 14px !important;
    font-size: 13.5px !important;
}

.form-wrapper .invalid-feedback {
    order: 4;
    font-size: 12.5px;
    color: #e53e3e;
    margin-top: 6px;
    display: block;
}

.form-wrapper .text-muted,
.form-wrapper small.text-muted {
    order: 3;
    font-size: 12px;
    color: #64748b;
    margin-top: 5px;
    display: block;
}

.member-form .table-wrapper {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.member-form .table-wrapper table {
    width: 100%;
    margin-bottom: 0;
}

.member-form .table-wrapper table thead th {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
}

.member-form .table-wrapper table tbody td {
    padding: 14px 18px;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.member-form .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
}

.member-form .radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 14.5px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.member-form .radio-group label:has(input:checked) {
    border-color: #2e7d5b;
    background: #f0fdf4;
    color: #166534;
    font-weight: 600;
}

.member-form .radio-group input[type="radio"] {
    accent-color: #2e7d5b;
    width: 18px;
    height: 18px;
    margin: 0;
}

.justify-between {
    justify-content: space-between;
}

.striked-price {
    text-decoration: line-through;
    opacity: 0.6;
}

.leader-card .leader-info .contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    margin-top: auto;
    min-height: 38px;
    padding-top: 10px;
}

@media screen and (max-width: 1024px) {
    .form-reverse {
        flex-direction: column-reverse;
    }

    .book-ticket-section .ticket-summary {
        max-width: 100%;
    }
}
@media screen and (max-width: 575px) {
    .form-wrapper .value-block {
        flex-direction: row;
        margin-top: 4px;
    }
}

/* ==========================================================================
   Checkout Figma Layout & Alignment
   ========================================================================== */

/* Clean Distraction-Free Checkout Navbar */
.checkout-header-bar {
    background: #ffffff;
    border-bottom: 1px solid #ebe5d8;
    padding: 16px 0;
    width: 100%;
    position: relative;
    z-index: 100;
}

.checkout-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.checkout-header-brand a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.checkout-brand-logo {
    max-height: 48px;
    width: auto;
    display: block;
}

.checkout-header-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.checkout-header-brand-text .brand-title {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #111827;
    text-transform: uppercase;
}

.checkout-header-brand-text .brand-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #8c8c8c;
    text-transform: uppercase;
}

.checkout-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hide default site header and banner on checkout pages */
body.checkout-page-layout .main-header,
body.checkout-page-layout .page-banner {
    display: none;
}

/* Main Checkout Section */
.book-ticket-section.checkout-page-section {
    background-color: #faf9f5;
    padding: 36px 0 70px 0;
    min-height: calc(100vh - 80px);
}

.checkout-page-intro {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.checkout-page-intro .checkout-main-heading {
    font-size: 38px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.checkout-page-intro .checkout-subheading {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.checkout-content-row {
    align-items: flex-start;
}

.checkout-content-row .col-two-thirds {
    width: 62%;
}

.checkout-content-row .col-one-third {
    width: 38%;
}

@media screen and (max-width: 1024px) {
    .checkout-content-row .col-two-thirds,
    .checkout-content-row .col-one-third {
        width: 100%;
    }
}
.checkout-sidebar-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 2px;
}
.secure-checkout-badge {
    background-color: #f7f3e8;
    color: #5c4717;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.secure-checkout-badge svg,
.secure-checkout-badge i {
    width: 18px;
    height: 18px;
    stroke: #8a6a24;
}

.back-to-event-link {
    color: #6b7280;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.back-to-event-link svg,
.back-to-event-link i {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

.back-to-event-link:hover {
    color: #111827;
    text-decoration: none;
}

/* Sidebar Outer Sticky Wrapper */
.checkout-sidebar-wrapper {
    position: sticky;
    top: 24px;
    width: 100%;
    max-width: 440px;
    margin: 0 0 0 auto;
}

/* Sidebar Card Container */
.book-ticket-section .ticket-summary.checkout-summary-card {
    background: #ffffff;
    border: 1px solid #ebe6dc;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    row-gap: 0;
}

/* Event Title */
.checkout-summary-card .event-summary-title {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin: 0 0 20px 0;
    letter-spacing: -0.3px;
}

/* Location & Date Meta Items */
.checkout-summary-card .event-meta-card-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 22px;
}

.checkout-summary-card .event-meta-card-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.checkout-summary-card .meta-icon-badge {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background-color: #faf6ec;
    border: 1px solid #f2ead8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bfa15f;
}

.checkout-summary-card .meta-icon-badge svg,
.checkout-summary-card .meta-icon-badge i {
    width: 20px;
    height: 20px;
    stroke: #bfa15f;
}

.checkout-summary-card .meta-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.checkout-summary-card .meta-card-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #8c8c8c;
    display: block;
}

.checkout-summary-card .meta-card-val {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.35;
    display: block;
}

.checkout-summary-card .meta-map-link {
    color: #bfa15f;
    display: inline-flex;
    margin-left: 4px;
    vertical-align: middle;
}

.checkout-summary-card .meta-map-link svg,
.checkout-summary-card .meta-map-link i {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* Thin Divider */
.checkout-summary-card .summary-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 18px 0;
    border: none;
    width: 100%;
}

/* Price Breakdown List */
.checkout-summary-card .total-summary {
    width: 100%;
}

.checkout-summary-card .total-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.checkout-summary-card .total-summary ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 14.5px;
    color: #4b5563;
    font-weight: 400;
    line-height: 1.4;
}

.checkout-summary-card .total-summary ul li span:first-child {
    color: #4b5563;
    font-weight: 400;
}

.checkout-summary-card .total-summary ul li span:last-child {
    font-weight: 600;
    color: #111827;
}

.checkout-summary-card .total-summary ul li.discount-row,
.checkout-summary-card .total-summary ul li.discount-row span,
.checkout-summary-card .total-summary ul li[data-discount="true"],
.checkout-summary-card .total-summary ul li[data-discount="true"] span {
    color: #16a34a;
    font-weight: 600;
}

/* Coupon Box */
.checkout-summary-card .coupon-accordion-wrap {
    width: 100%;
    margin-top: 8px;
}

.checkout-summary-card .coupon-toggle-btn {
    background: none;
    border: none;
    padding: 4px 0;
    color: #8a6a24;
    font-size: 13.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.checkout-summary-card .coupon-toggle-btn svg,
.checkout-summary-card .coupon-toggle-btn i {
    width: 15px;
    height: 15px;
    stroke: currentColor;
}

.checkout-summary-card .coupon-toggle-btn:hover {
    color: #5c4717;
}

.checkout-summary-card .sidebar-coupon-body {
    padding-top: 10px;
}

.checkout-summary-card .coupon-inline-form {
    display: flex;
    gap: 8px;
    width: 100%;
}

.checkout-summary-card .coupon-inline-form .user-input {
    height: 42px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    padding: 0 12px;
    font-size: 13.5px;
    flex: 1;
}

.checkout-summary-card .coupon-inline-form .coupon-apply-btn {
    height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    background: #1f2937;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.checkout-summary-card .coupon-inline-form .coupon-apply-btn:hover {
    background: #000000;
}

/* Grand Total Row */
.checkout-summary-card .summary-total-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 4px 0 0 0;
}

.checkout-summary-card .summary-total-label {
    font-size: 24px;
    font-weight: 500;
    color: #111827;
}

.checkout-summary-card .summary-total-price {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.5px;
}

/* Proceed to Pay CTA Button */
.checkout-summary-card .sidebar-proceed-pay-btn {
    background-color: #b78d38;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    width: 100%;
    height: 54px;
    font-size: 16.5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(183, 141, 56, 0.25);
    transition: all 0.2s ease;
    text-decoration: none;
}

.checkout-summary-card .sidebar-proceed-pay-btn:hover {
    background-color: #a47c2d;
    box-shadow: 0 6px 18px rgba(183, 141, 56, 0.35);
    transform: translateY(-1px);
}

.checkout-summary-card .sidebar-proceed-pay-btn:active {
    transform: translateY(0);
}

/* Trust Footer */
.checkout-summary-card .sidebar-trust-footer {
    margin-top: 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

.checkout-summary-card .instant-confirm-note {
    font-size: 12px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.checkout-summary-card .ssl-guarantee-note {
    font-size: 11.5px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
}

.checkout-summary-card .ssl-guarantee-note svg,
.checkout-summary-card .ssl-guarantee-note i {
    width: 14px;
    height: 14px;
    stroke: #16a34a;
}

/* Hide duplicate Pay Now button in checkout forms so Proceed to Pay is the sole CTA */
.checkout-pay-now-block,
.button-blocks:has(#payNowBtn),
#payNowBtn {
    display: none;
}

/* ==========================================================================
   SGCA Banner Breadcrumbs
   ========================================================================== */
.page-banner .container,
.blog-banner .container {
    position: relative;
    z-index: 3;
}

.banner-breadcrumb-wrapper {
    position: relative;
    z-index: 5;
    margin-bottom: 24px;
    text-align: left;
    width: 100%;
}

.banner-breadcrumb-nav {
    display: inline-block;
    position: relative;
    z-index: 5;
}

.banner-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.banner-breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.banner-breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.banner-breadcrumb-item a:hover {
    color: #e5b95d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.banner-breadcrumb .breadcrumb-separator {
    display: inline-block;
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13.5px;
    user-select: none;
}

.banner-breadcrumb-item.active,
.banner-breadcrumb-item:last-child {
    color: #ffffff;
    font-weight: 500;
}

/* Event Hero Banner Breadcrumb Overlay & Positioning */
.event-hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.event-hero-img-box {
    position: relative;
    width: 100%;
}

.event-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.event-hero-content {
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 2;
    pointer-events: auto;
}

@media (max-width: 991px) {
    .event-hero-content {
        top: 30px;
    }
    .banner-breadcrumb-wrapper {
        margin-bottom: 16px;
    }
}

@media (max-width: 576px) {
    .event-hero-content {
        top: 20px;
    }
    .banner-breadcrumb {
        font-size: 13px;
    }
    .banner-breadcrumb .breadcrumb-separator {
        margin: 0 6px;
    }
}
