/* ==========================================================================
   Secure Order Form restyle for thevegasvacation.com/Home/BuyNow

   Visual only. No input name, id, attribute, validation rule or script is
   touched — the single markup change is the `lvv-order` class added to the
   page section (see README).

   Upload to: /css/lvv_buynow.css
   ========================================================================== */

/* ------------------------------------------------------------------ *
 * Secure Order Form — visual restyle only.
 * Scoped to `.lvv-order`, the single class added to the page section.
 * No input names, ids, attributes, validation hooks or scripts change.
 * ------------------------------------------------------------------ */
.lvv-order {
    --ink: #14122e;
    --muted: #5b5c78;
    --brand: #2a1fd4;
    --red: #e11414;
    --line: #d9dceb;
    --surface: #f5f6fb;
    --aqua: #0d7f8f;
    --aqua-soft: #eaf6f7;
    --gold: #f0c419;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    padding: 46px 0 64px;
    background: #fff;
}

.lvv-order h1,
.lvv-order h2,
.lvv-order h3,
.lvv-order h6,
.lvv-order p,
.lvv-order li,
.lvv-order label,
.lvv-order span,
.lvv-order strong {
    position: static;
    text-align: left;
    text-transform: none;
    background: none;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    letter-spacing: normal;
}

/* ---- page heading ------------------------------------------------ */
.lvv-order .page_title_box { margin-bottom: 26px; }

.lvv-order .page_title_box h1 {
    margin: 0;
    color: var(--brand);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.015em;
    text-transform: uppercase;
}

.lvv-order .page_title_box::after {
    content: "Your card is not charged until a live verification call is completed.";
    display: block;
    margin-top: 12px;
    max-width: 60ch;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

/* ---- form shell -------------------------------------------------- */
.lvv-order .left_col_container form {
    padding: 30px 32px 32px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 3px rgba(20, 18, 46, .05);
}

/* normalise the Bootstrap rows into an even two-column grid so the
   stray CVV / spacer cells line up instead of floating */
.lvv-order form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 22px;
    margin: 0;
}

/* Bootstrap's .row clearfix pseudo-elements would otherwise be counted as
   grid cells and knock every field into the wrong column */
.lvv-order form .row::before,
.lvv-order form .row::after {
    display: none !important;
    content: none !important;
}

.lvv-order form .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    float: none;
}

.lvv-order form .row > .col-md-12,
.lvv-order form .row > .col-lg-12 { grid-column: 1 / -1; }

/* ---- fields ------------------------------------------------------ */
.lvv-order .form-group { margin-bottom: 18px; }

.lvv-order .form-group label {
    display: block;
    margin: 0 0 7px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.lvv-order .form-group label:empty { display: none; }

.lvv-order .form-control {
    height: auto;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    color: var(--ink);
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.35;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.lvv-order select.form-control {
    height: 46px;
    padding-right: 34px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b5c78' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.lvv-order .form-control::placeholder { color: #a2a5bb; }

.lvv-order .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(42, 31, 212, .14);
    outline: none;
}

/* only flag a field the visitor has actually typed into — selects have no
   placeholder, so an untouched required <select> must not look like an error */
.lvv-order input.form-control:invalid:not(:placeholder-shown):not(:focus) {
    border-color: #e8a1a1;
}

/* section subheads ("Billing Address") */
.lvv-order form h6 {
    margin: 14px 0 18px !important;
    padding-top: 22px !important;
    padding-bottom: 0 !important;
    border-top: 1px solid var(--line);
    color: var(--ink);
    font-size: 13px !important;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* package price read-only cell */
.lvv-order #packagePriceDisplay {
    border-color: #cfe3e6;
    background: var(--aqua-soft) !important;
    color: var(--ink);
    font-size: 19px !important;
    font-weight: 900 !important;
    letter-spacing: -.01em;
}

/* expiration month + year pair */
.lvv-order .d-flex {
    display: flex;
    gap: 10px;
}

.lvv-order .d-flex .form-control { flex: 1; min-width: 0; }
.lvv-order .d-flex .mr-2 { margin-right: 0 !important; }

/* ---- qualifications panel ---------------------------------------- */
.lvv-order form .col-md-12 > p:first-of-type,
.lvv-order form .col-lg-12 > p:first-of-type {
    margin: 0 0 6px;
}

.lvv-order form .col-md-12 > p:first-of-type strong {
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
}

.lvv-order form .col-md-12 {
    margin-top: 12px;
    padding: 26px 28px 24px !important;
    border: 1px solid #d5e9ec;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--aqua-soft) 0%, #fff 74%);
}

.lvv-order form .col-md-12 > p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.65;
    text-align: left;
}

.lvv-order .unorder_list_disc {
    margin: 16px 0 20px;
    padding: 0;
    list-style: none;
}

.lvv-order .unorder_list_disc li {
    position: relative;
    margin: 0 0 11px;
    padding-left: 26px;
    color: var(--ink);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.6;
    list-style: none;
}

.lvv-order .unorder_list_disc li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--aqua);
    font-size: 15px;
    font-weight: 900;
}

.lvv-order .unorder_list_disc li:last-child { margin-bottom: 0; }
.lvv-order .unorder_list_disc li strong { color: var(--ink); font-weight: 700; }

/* ---- the qualify gate -------------------------------------------- */
.lvv-order form .col-md-12 .form-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 0;
    padding: 16px 20px;
    border: 2px solid var(--ink);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    font-size: 15.5px;
    font-weight: 800;
}

.lvv-order form .col-md-12 .form-group #toggle {
    width: 21px;
    height: 21px;
    margin: 0 2px;
    accent-color: var(--brand);
    cursor: pointer;
}

/* ---- buttons ----------------------------------------------------- */
.lvv-order form .submit_btn {
    height: auto;
    margin: 22px 10px 0 0;
    padding: 15px 40px;
    border: 0;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.lvv-order form .submit_btn:hover:not([disabled]),
.lvv-order form .submit_btn:focus:not([disabled]) {
    background: #c00f0f;
    color: #fff;
    transform: translateY(-1px);
}

.lvv-order form input[name="reset"].submit_btn {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
}

.lvv-order form input[name="reset"].submit_btn:hover {
    background: var(--surface);
    color: var(--ink);
    transform: none;
}

.lvv-order form .submit_btn[disabled] {
    background: #c9cbd9;
    color: #fff;
    cursor: not-allowed;
    opacity: 1;
    transform: none;
}

/* reCAPTCHA badge / hidden inputs shouldn't add stray gaps */
.lvv-order form br { display: none; }
.lvv-order form .g-recaptcha { margin-top: 18px; }

/* ---- responsive -------------------------------------------------- */
@media (max-width: 991px) {
    .lvv-order .page_title_box h1 { font-size: 31px; }
}

@media (max-width: 767px) {
    .lvv-order { padding: 30px 0 44px; }
    .lvv-order .page_title_box h1 { font-size: 26px; }
    .lvv-order .left_col_container form { padding: 22px 18px 24px; }
    .lvv-order form .row { grid-template-columns: 1fr; gap: 0; }
    .lvv-order form .col-md-12 { padding: 20px 18px 18px !important; }
    .lvv-order form .col-md-12 .form-group { padding: 14px 16px; font-size: 14.5px; }
    .lvv-order form .submit_btn { width: 100%; margin: 12px 0 0; padding: 15px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .lvv-order .form-control,
    .lvv-order form .submit_btn { transition: none; }
    .lvv-order form .submit_btn:hover { transform: none; }
}

/* same guard as the content pages: keep the site's per-letter h2
   animation from parking letters outside the viewport */
.lvv-order h2 .text-effect,
.lvv-order h2 span.text-effect {
    position: static !important;
    left: auto !important;
    top: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline !important;
}
