/**
 * CliqHost — checkout: carduri, câmpuri, butoane (stil WordPress/Plesk dashboard)
 */
#order-standard_cart .cart-body #frmCheckout .sub-heading {
    height: auto;
    margin: 1.5rem 0 0 0;
    padding: 0;
    border: none;
}

#order-standard_cart .cart-body #frmCheckout .sub-heading:first-child,
#order-standard_cart .cart-body #containerNewUserSignup > .sub-heading:first-of-type {
    margin-top: 0;
}

#order-standard_cart .cart-body #frmCheckout .sub-heading span.primary-bg-color {
    display: block;
    background: #143d5c !important;
    color: #fff !important;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid #143d5c;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    line-height: 1.35;
}

/* Corp „card” după antet */
#order-standard_cart .cart-body #containerNewUserSignup > .sub-heading + .row,
#order-standard_cart .cart-body #containerExistingUserSignin > .sub-heading + .alert + .row,
#order-standard_cart .cart-body #containerExistingUserSignin > .sub-heading + .row {
    background: #fff;
    border: 1px solid #d0dae8;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 1.25rem 1rem;
    margin-bottom: 1.25rem !important;
    box-shadow: 0 4px 16px rgba(26, 43, 73, 0.06);
}

#order-standard_cart .cart-body #containerExistingUserSignin > .sub-heading + .alert + .row {
    margin-top: 0;
}

#order-standard_cart .cart-body #frmCheckout .sub-heading + .field-container {
    background: #fff;
    border: 1px solid #ced4da;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 1.25rem 1rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(26, 43, 73, 0.06);
}

/* Securitate cont: un singur card (parolă + întrebări) */
#order-standard_cart #containerNewUserSecurity {
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(26, 43, 73, 0.06);
}

#order-standard_cart #containerNewUserSecurity > .sub-heading {
    margin: 0 !important;
}

#order-standard_cart #containerNewUserSecurity > .sub-heading span.primary-bg-color {
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: #143d5c !important;
    color: #fff !important;
    text-align: left;
    padding-left: 1.1rem !important;
}

#order-standard_cart #containerNewUserSecurity > #containerPassword.row {
    padding: 1.25rem 1.25rem 0.75rem;
    margin: 0 !important;
    box-shadow: none;
    border: none;
    background: transparent;
}

#order-standard_cart #containerNewUserSecurity > .row:not(#containerPassword) {
    padding: 0 1.25rem 1.25rem;
    margin: 0 !important;
}

/* Domeniu — bloc registrant */
#order-standard_cart .cart-body #frmCheckout .sub-heading + p.small + .row.margin-bottom {
    background: #fff;
    border: 1px solid #ced4da;
    border-top: none;
    margin: 0 0 0 0 !important;
    padding: 1rem;
    border-radius: 0;
}

#order-standard_cart .cart-body #frmCheckout .sub-heading:has(+ p.small) span.primary-bg-color {
    border-radius: 10px 10px 0 0;
}

#order-standard_cart .cart-body #domainRegistrantInputFields {
    background: #fff;
    border: 1px solid #d0dae8;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 1.25rem 1rem;
    margin-bottom: 1.5rem !important;
    box-shadow: 0 4px 16px rgba(26, 43, 73, 0.06);
}

#order-standard_cart .cart-body #frmCheckout p.small.text-muted {
    margin: 0;
    padding: 0.65rem 1rem;
    background: #f8f9fa;
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    font-size: 0.85rem;
}

/* Câmpuri */
#order-standard_cart .cart-body #frmCheckout .field,
#order-standard_cart .cart-body #frmCheckout .form-control,
#order-standard_cart .cart-body #frmCheckout select.form-control {
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    background: #fff !important;
    min-height: 44px;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
    padding-right: 0.85rem !important;
    padding-left: 0.85rem !important;
    font-size: 0.9375rem;
    box-shadow: none !important;
}

#order-standard_cart .cart-body #frmCheckout .prepend-icon > .field-icon ~ input:not([type="tel"]),
#order-standard_cart .cart-body #frmCheckout .prepend-icon > .field-icon ~ select.form-control {
    padding-left: 2.5rem !important;
}

#order-standard_cart .cart-body #frmCheckout .prepend-icon .intl-tel-input {
    display: block;
    width: 100%;
}

/* Lista țărilor telefon: ieșire din card / rând (altfel rămâne „înăuntru”) */
#order-standard_cart .cart-body #frmCheckout .intl-tel-input {
    position: relative;
    z-index: 1;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input .country-list,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input .iti__country-list {
    z-index: 10050 !important;
    max-height: 260px !important;
    margin-top: 6px !important;
    margin-left: 0 !important;
    border-radius: 6px !important;
    border: 1px solid #ced4da !important;
    background: #fff !important;
    box-shadow: 0 10px 32px rgba(20, 61, 92, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    padding: 6px 0 !important;
    font-size: 0.9375rem !important;
    color: #143d5c !important;
    box-sizing: border-box !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input .country-list .divider,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input .iti__divider {
    border-bottom: 1px solid #e4ebf3 !important;
    margin: 6px 0 !important;
    padding: 0 !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input .country-list .country,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input .iti__country-list .iti__country {
    padding: 9px 14px !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input .country-list .country .dial-code,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input .iti__country-list .iti__dial-code {
    color: #5a6570 !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input .country-list .country.highlight,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input .country-list .country:hover,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input .iti__country-list .iti__country.iti__highlight,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input .iti__country-list .iti__country:hover {
    background: #eef4fb !important;
    color: #1a2b49 !important;
}

#order-standard_cart .cart-body #containerNewUserSignup > .sub-heading + .row,
#order-standard_cart .cart-body #containerExistingUserSignin > .sub-heading + .row,
#order-standard_cart .cart-body #containerExistingUserSignin > .sub-heading + .alert + .row,
#order-standard_cart .cart-body #frmCheckout .sub-heading + .field-container,
#order-standard_cart .cart-body #domainRegistrantInputFields {
    overflow: visible;
}

#order-standard_cart #containerNewUserSecurity {
    overflow: visible;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input.allow-dropdown:not(.separate-dial-code) input,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input.allow-dropdown:not(.separate-dial-code) input[type="tel"] {
    padding-left: 52px !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.iti-sdc-2 input,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.iti-sdc-2 input[type="tel"] {
    padding-left: 66px !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type="tel"] {
    padding-left: 76px !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.iti-sdc-3 input,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.iti-sdc-3 input[type="tel"] {
    padding-left: 74px !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type="tel"] {
    padding-left: 84px !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.iti-sdc-4 input,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.iti-sdc-4 input[type="tel"] {
    padding-left: 82px !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input[type="tel"] {
    padding-left: 92px !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.iti-sdc-5 input,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.iti-sdc-5 input[type="tel"] {
    padding-left: 90px !important;
}

#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input,
#order-standard_cart .cart-body #frmCheckout .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input[type="tel"] {
    padding-left: 100px !important;
}

#order-standard_cart .cart-body #frmCheckout .field:focus,
#order-standard_cart .cart-body #frmCheckout .form-control:focus {
    background: #fff !important;
    border-color: #a8bdd4 !important;
    box-shadow: 0 0 0 3px rgba(26, 43, 73, 0.08) !important;
}

#order-standard_cart .cart-body #frmCheckout .form-group label:not(.field-icon):not(.radio-inline) {
    font-weight: 600;
    color: #3d4f63;
    font-size: 0.875rem;
}

/* Butoane principale checkout */
#order-standard_cart .cart-body #frmCheckout .btn-primary,
#order-standard_cart .cart-body #btnCompleteOrder,
#order-standard_cart .cart-body #frmCheckout input.btn-primary[type="submit"] {
    background: linear-gradient(180deg, #2a4570 0%, #1a2b49 100%) !important;
    border: none !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700;
    padding: 0.65rem 1.35rem;
    box-shadow: 0 4px 12px rgba(26, 43, 73, 0.25);
}

#order-standard_cart .cart-body #frmCheckout .btn-primary:hover,
#order-standard_cart .cart-body #btnCompleteOrder:hover {
    background: linear-gradient(180deg, #1f3558 0%, #152238 100%) !important;
    color: #fff !important;
}

#order-standard_cart .cart-body #frmCheckout .btn-default,
#order-standard_cart .cart-body #frmCheckout .generate-password {
    background: #fff !important;
    border: 1px solid #cfd8e3 !important;
    color: #1a2b49 !important;
    border-radius: 8px !important;
    font-weight: 600;
}

#order-standard_cart .cart-body .btn-info#btnAlreadyRegistered,
#order-standard_cart .cart-body .btn-warning#btnNewUserSignup {
    border-radius: 8px;
    font-weight: 600;
}

#order-standard_cart .cart-body #btnExistingLogin.btn-primary {
    min-width: 140px;
}

/* Plată / gateway — secțiuni */
#order-standard_cart .cart-body #frmCheckout .cc-input-container,
#order-standard_cart .cart-body .apply-credit-container {
    border-radius: 10px;
    border: 1px solid #d0dae8 !important;
    box-shadow: 0 2px 12px rgba(26, 43, 73, 0.05);
}

#order-standard_cart .cart-body .account-select-container .account {
    border-radius: 8px;
    border-color: #d0dae8 !important;
}

/* Plată — antet + total datorat */
#order-standard_cart .cart-body #frmCheckout .sub-heading:has(+ #totalDueToday) span.primary-bg-color {
    border-bottom: none !important;
}

#order-standard_cart .cart-body #frmCheckout #totalDueToday {
    border: 1px solid #d0dae8 !important;
    border-top: none !important;
    border-radius: 0 !important;
    margin-bottom: 1rem !important;
    background: #f4f8fc !important;
    color: #1a2b49;
}

#order-standard_cart .cart-body #paymentGatewaysContainer {
    padding: 0.5rem 0 1rem;
}
