body, .cxl-btn, .cxl-btn-group, .select-user-flow, .fields-headings, .stepper-label {
    font-family: 'Montserrat', Arial, sans-serif !important;
}
:root {
    --brand-blue: #0056A6;
    --brand-yellow: #FFCD00;
    --inactive-bar: #eaf1f7;
    --inactive-text: #bfc9d8;
    --desktop-width: 800px;
    --select-max-desktop: 550px;
    --header-max-mobile: 370px;
}
.packages-form-outer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 35px;
}
.packages-form-wrap {
    max-width: var(--desktop-width);
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px 0 rgba(20,40,120,0.07);
    padding: 38px 26px 32px 26px;
    margin-bottom: 60px;
}
.select-user-flow {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cxl-btn-group {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.cxl-btn {
    background: var(--brand-blue);
    color: #fff;
    border-radius: 13px;
    border: none;
    padding: 16px 0;
    font-size: 1.07rem;
    font-weight: 700;
    min-width: 200px;
    width: 100%;
    text-align: center;
    box-shadow: 0 1px 8px 0 rgba(0,0,0,0.04);
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
    outline: none;
}
.cxl-btn:focus,
.cxl-btn:hover {
    background: var(--brand-yellow);
    color: var(--brand-blue);
}
.cxl-btn.hide { display: none !important; }
.cxl-btn.selected {
    background: var(--brand-yellow);
    color: var(--brand-blue);
    pointer-events: none;
}
.single-flow-selected {
    background: var(--brand-blue);
    color: #fff;
    border-radius: 13px;
    padding: 14px 0;
    font-size: 1.13rem;
    font-weight: 700;
    min-width: 100%;
    width: 100%;
    text-align: center;
    margin-bottom: 18px;
}
@media (max-width: 540px) {
    .packages-form-wrap {
        max-width: var(--header-max-mobile);
        width: 100vw;
        padding: 18px 10px 22px 10px;
        margin-bottom: 25px;
    }
    .cxl-btn-group {
        gap: 10px;
        flex-direction: column;
    }
    .cxl-btn {
        font-size: 0.99rem;
        min-width: 0;
        width: 100%;
        padding: 13px 0;
        border-radius: 9px;
    }
}
.stepper-progress-wrap {
    width: 100%;
    margin-bottom: 2.3rem;
    position: relative;
    padding: 0 5px;
    height: 98px;
    display: none;
}
.stepper-bar,
.stepper-bar-fill {
    position: absolute;
    left: 0; right: 0;
    height: 8px;
    border-radius: 4px;
    top: 54px;
    z-index: 1;
}
.stepper-bar { background: var(--inactive-bar);}
.stepper-bar-fill {
    background: var(--brand-blue);
    width: 0%;
    transition: width 0.3s;
}
.stepper-list {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    height: 98px;
}
.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    z-index: 2;
    position: relative;
}
.stepper-circle {
    width: 42px;
    height: 42px;
    background: var(--inactive-bar);
    border-radius: 50%;
    border: 4px solid var(--inactive-bar);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 33px;
    left: 50%;
    transform: translateX(-50%);
    transition: background 0.2s, border-color 0.2s;
    z-index: 3;
}
.stepper-step.active .stepper-circle,
.stepper-step.completed .stepper-circle {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}
.stepper-icon {
    width: 20px;
    height: 20px;
    display: block;
    color: var(--inactive-text);
    transition: color 0.18s;
}
.stepper-step.active .stepper-icon,
.stepper-step.completed .stepper-icon {
    color: #fff;
}
.stepper-label {
    margin-top: 92px;
    font-size: 1.17rem;
    font-weight: 700;
    color: var(--inactive-text);
    text-align: center;
    min-width: 70px;
    transition: color 0.2s;
}
.stepper-step.active .stepper-label,
.stepper-step.completed .stepper-label {
    color: var(--brand-blue);
}
@media (max-width: 540px) {
    .stepper-label { margin-top: 100px !important; font-size: 1.01rem;}
    .stepper-progress-wrap { height: 115px; }
}
.fields-headings {
    font-size: 1.13rem;
    font-weight: 700;
    color: #232e49;
    margin-bottom: 25px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 11px;
    justify-content: center;
    text-align: center;
    flex-direction: row;
    position: relative;
}
.cxl_tooltip { background: #232323d6; color: #fff; border-radius: 100%; padding: 5px 10px; font: 500 18px/17px 'Montserrat', sans-serif; cursor: pointer; position: relative; }
.cxl_tooltiptext { visibility: hidden; width: 210px; background-color: black; color: #fff; text-align: center; border-radius: 6px; padding: 5px 8px; position: absolute; z-index: 2; bottom: 135%; left: 50%; transform: translateX(-50%); font-size: 13px; opacity: 0; transition: opacity 0.2s;}
.cxl_tooltip:hover .cxl_tooltiptext { visibility: visible; opacity: 1; }
.trial-warning {
    font-size: 0.96rem;
    color: #ee3939;
    margin-top: -9px;
    margin-bottom: 16px;
    text-align: center;
    display: none;
    transition: color 0.16s;
    cursor: pointer;
    line-height: 1.4;
}
.trial-warning a { color: inherit; text-decoration: underline; }
.trial-warning:hover, .trial-warning:focus { color: var(--brand-blue);}
.select-dropdown2 {
    position: relative;
    width: 100%;
    max-width: var(--select-max-desktop);
    margin: 0 auto 22px auto;
    display: none;
}
.dropdown-selected2 {
    border: 2px solid var(--brand-blue);
    border-radius: 8px;
    background: #fff;
    font-size: 1.15rem;
    padding: 14px 15px;
    color: #444;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dropdown-selected2:after {
    content: "";
    border: solid var(--brand-blue);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    margin-left: 8px;
    transform: rotate(45deg);
}
.dropdown-list2 {
    display: none;
    position: absolute;
    left: 0; right: 0;
    background: #fff;
    border: 2px solid var(--brand-blue);
    border-radius: 8px;
    margin-top: 8px;
    max-width: var(--select-max-desktop);
    max-height: 360px;
    overflow-y: auto;
    z-index: 10;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba(100,140,150,0.08);
    padding: 0;
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 700px) {
    .dropdown-list2 {
        grid-template-columns: 1fr !important;
        max-width: 100%;
        max-height: none;
        overflow-y: visible;
    }
}
@media (min-width: 701px) {
    .dropdown-list2 {
        display: none;
        grid-template-columns: 1fr 1fr;
        border-collapse: separate;
    }
    .select-dropdown2.open .dropdown-list2 {
        display: grid;
    }
}
.select-dropdown2.open .dropdown-list2 { display: grid; }
.dropdown-row2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 1.1rem;
    border-top: 1px solid #f3f3f3;
    cursor: pointer;
    background: #fff;
    transition: background .13s;
}
.dropdown-row2:first-child { border-top: none; }
.dropdown-row2:hover,
.dropdown-row2.selected { background: #f4f9f4; }
.dropdown-price2 {
    background: var(--brand-blue);
    color: #fff;
    border-radius: 18px;
    font-size: 1.12rem;
    padding: 4px 14px;
    font-weight: 700;
    min-width: 52px;
    text-align: center;
}
.dropdown-error2 {
    color: #f24848;
    font-size: 1.06rem;
    margin-top: 4px;
    margin-bottom: 13px;
    text-align: center;
    width: 100%;
    display: none;
}
.action-buttons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 24px;
    width: 100%;
}
.cxl-btn-yellow, .cxl-btn-blue {
    min-width: 135px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.09rem;
    padding: 11px 0;
    text-align: center;
    cursor: pointer;
    margin: 0 5px;
    transition: background 0.16s, color 0.16s;
    outline: none;
}
.cxl-btn-blue { background: var(--brand-blue); color: var(--brand-yellow);}
.cxl-btn-blue:hover, .cxl-btn-blue:focus { background: #003b6e; color: #fff;}
.cxl-btn-yellow { background: var(--brand-yellow); color: var(--brand-blue);}
.cxl-btn-yellow:hover, .cxl-btn-yellow:focus { background: #ffe155; color: var(--brand-blue);}
.adult-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    justify-content: center;
    margin-top: 12px;
    margin-bottom: -6px;
    width: 100%;
}
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  vertical-align: middle;
}
.switch input { display: none; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #d9d9d9;
  transition: .4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--brand-blue);
}
input:checked + .slider:before {
  transform: translateX(20px);
  background: var(--brand-yellow);
}
.adult-label {
    font-weight: 700;
    font-size: 1.06rem;
    color: #232e49;
    margin-right: 0.5em;
    cursor: default !important;
    user-select: none;
}
.app-select-error {
    color: #f24848;
    font-size: 1.01rem;
    margin-top: 4px;
    margin-bottom: 13px;
    text-align: center;
    width: 100%;
    display: none;
}
.mac-adress-wrap {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 10px 0 0 0;
}
.mac-adress-label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #232e49;
    width: 100%;
    text-align: center;
}
.mac-adress-input {
    font-size: 1rem;
    padding: 8px 13px;
    border-radius: 7px;
    border: 2px solid #eaf1f7;
    width: 100%;
    max-width: 550px;
    min-width: 0;
    margin: 0 auto;
    display: block;
    text-align: center;
    box-sizing: border-box;
}
.mac-warning-text {
    color: #ee3939;
    font-size: 0.97rem;
    margin-top: 8px;
    text-align: center;
    display: none;
    width: 100%;
}

/* FIXED: Only show app dropdown when .open is added */
#appDropdown2 .dropdown-list2 {
    display: none;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px 0 rgba(100,140,150,0.08);
    width: 100%;
    max-width: 550px;
    padding: 0;
    margin-top: 8px;
    overflow-y: auto;
    gap: 0;
}
#appDropdown2.open .dropdown-list2 {
    display: grid !important;
}
@media (max-width: 540px) {
    #appDropdown2 .dropdown-list2 { grid-template-columns: 1fr; }
}
#appDropdown2 .app-cell {
    border-top: 1px solid #f3f3f3;
    padding: 12px 16px;
    font-size: 1.1rem;
    cursor: pointer;
    background: #fff;
    transition: background .13s;
    border-right: 1px solid #f3f3f3;
    text-align: left;
    min-height: 38px;
    display: flex;
    align-items: center;
}
#appDropdown2 .app-cell:nth-child(2n) { border-right: none; }
#appDropdown2 .app-cell:hover,
#appDropdown2 .app-cell.selected { background: #f4f9f4; }
@media (max-width: 540px) {
    #appDropdown2 .app-cell { border-right: none; }
}

.mac-error-feedback {
    color: #ee3939;
    font-size: 1.02rem;
    margin-top: 4px;
    text-align: center;
    width: 100%;
    display: none;
}


/* Address Step Form Styling */
.address-fields-wrap {
    margin: 0 auto;
    max-width: 550px;
    padding: 0;
}
.form-group {
    position: relative;
    margin-bottom: 22px;
}
.form-control {
    width: 100%;
    padding: 13px 45px 13px 15px;
    border: 1.5px solid #eaf1f7;
    border-radius: 8px;
    font-size: 1.09rem;
    color: #232e49;
    background: #fff;
    transition: border-color .18s;
}
.form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
}
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.invalid-feedback {
    color: #ee3939;
    font-size: 0.99rem;
    margin-top: 4px;
    /* display: none; REMOVE THIS LINE */
    text-align: left;
    padding-left: 4px;
}
.hideme {
    display: none !important;
}
.action-buttons-row {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
@media (max-width: 540px) {
    .address-fields-wrap { max-width: 100%; }
}


.fields-headings {
    justify-content: center;
    text-align: center;
}
.address-fields-wrap .action-buttons-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 24px;
}
@media (max-width: 540px) {
    .address-fields-wrap .action-buttons-row { flex-direction: row; gap: 8px; }
}
.form-group {
    position: relative;
    margin-bottom: 22px;
}
.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    pointer-events: none;
}


.trial-modal-outer {
    display: none; 
    position: fixed;
    z-index: 99999;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(24, 34, 56, 0.50);
    align-items: center;
    justify-content: center;
  }
  
  .trial-modal-outer.show { display: flex; }
  
  .trial-modal-inner {
    background: #fff;
    border-radius: 18px;
    padding: 32px 26px 28px 26px;
    box-shadow: 0 8px 48px rgba(17,41,84,0.18);
    width: 100%;
    max-width: 375px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  
  .trial-modal-title {
    font-size: 1.11rem;
    font-weight: 700;
    color: #114899;
    margin-bottom: 12px;
  }
  
  .trial-modal-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 0 0 10px 0;
  }
  
  .trial-code-input {
    width: 38px;
    height: 46px;
    border: 2px solid #114899;
    border-radius: 8px !important;
    text-align: center;
    font-size: 2rem;
    outline: none;
    font-weight: 700;
    background: #fafcff;
    transition: border 0.2s;
  }
  .trial-code-input:focus {
    border-color: #ffcc00;
    background: #fffde3;
  }
  
  .trial-modal-error {
    color: #d32f2f;
    font-size: 1rem;
    font-weight: 600;
    min-height: 18px;
    margin-top: 4px;
    margin-bottom: 0;
  }
  
  .trial-modal-submit {
    background: linear-gradient(90deg,#ffcc00,#006AA7);
    color: #fff;
    font-weight: 800;
    font-size: 1.07rem;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 2px 14px rgba(0,106,167,0.08);
    transition: background 0.15s;
  }
  .trial-modal-submit:hover {
    background: linear-gradient(90deg,#ffe14c,#3388cc);
  }
  
  .trial-modal-resend-wrap {
    font-size: 1rem;
    color: #252f3f;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
  }
  
  .trial-modal-resend-btn {
    background: none;
    border: none;
    color: #006AA7;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    font-size: 1rem;
    padding: 0 2px;
    transition: color 0.12s;
  }
  .trial-modal-resend-btn:disabled,
  .trial-modal-resend-btn.disabled {
    color: #aaa;
    cursor: not-allowed;
    text-decoration: none;
  }
  .trial-modal-resend-btn:hover:not(:disabled) {
    color: #004466;
  }
  
  #trialCodesCountdown {
    color: #006AA7;
    font-weight: 600;
    margin-left: 2px;
    font-size: 1rem;
  }
  
  
.packages-main-heading {
  text-align: center;
  font-size: 2.6rem;
  color: #0056A6;
  margin: 2rem 0 1.3rem 0;
  font-weight: 700;
}
@media (max-width: 600px) {
  .packages-main-heading {
    font-size: 1.55rem;
    margin-top: 1.1rem;
    margin-bottom: 1.1rem;
  }
}
