
/*
 HOSTCUPID PREMIUM REGISTRATION
 Registration-only presentation layer.
 No WHMCS fields, names, or validation are changed.
*/

body:has(#frmCheckout) {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

/* Main registration shell */

body:has(#frmCheckout) #registration {
    --hc-primary: #079fd2;
    --hc-dark: #102d46;
    --hc-muted: #64788a;
    --hc-border: #dce7ef;
    --hc-surface: #f6f9fc;
}

body:has(#frmCheckout) #registration .bg-box {
    background: #fff !important;
}

body:has(#frmCheckout) #registration .regst-form {
    padding-bottom: 20px !important;
}

/* Headings */

body:has(#frmCheckout) #registration .info-titel {
    color: #102d46 !important;
    font-size: 19px !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
    letter-spacing: -.35px;
    margin: 0 0 20px !important;
}

body:has(#frmCheckout) #registration .info-titel small {
    color: #78899a !important;
    font-size: 11px !important;
    font-weight: 400 !important;
}

body:has(#frmCheckout) #registration .form-box {
    margin-bottom: 27px !important;
}

/* Clean consistent form grid */

body:has(#frmCheckout) #registration
.regst-form .form-group {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
    row-gap: 15px !important;
    margin-bottom: 12px !important;
}

body:has(#frmCheckout) #registration
.regst-form .form-group::before,
body:has(#frmCheckout) #registration
.regst-form .form-group::after {
    display: none !important;
}

body:has(#frmCheckout) #registration
.regst-form .form-group > [class*="col-"] {
    float: none !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

/* Modern field containers */

body:has(#frmCheckout) #registration .inputBox {
    position: relative;
    min-height: 66px !important;
    margin-bottom: 0 !important;
}

body:has(#frmCheckout) #registration .inputText {
    display: block !important;
    position: relative !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    margin-bottom: 7px !important;
    color: #38536a !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

body:has(#frmCheckout) #registration
.inputBox > input.input,
body:has(#frmCheckout) #registration
.inputBox > select.input,
body:has(#frmCheckout) #registration
.inputBox > textarea.input {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
    border: 1px solid #d8e4ed !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #17334b !important;
    padding: 10px 13px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    transition: border-color .18s ease,
                box-shadow .18s ease !important;
}

body:has(#frmCheckout) #registration
.inputBox > input.input:focus,
body:has(#frmCheckout) #registration
.inputBox > select.input:focus,
body:has(#frmCheckout) #registration
.inputBox > textarea.input:focus {
    border-color: #08a9dc !important;
    box-shadow: 0 0 0 3px rgba(8,169,220,.12) !important;
    outline: none !important;
}

body:has(#frmCheckout) #registration
.inputBox > input.input::placeholder {
    color: #98a8b5 !important;
}

/* WHMCS international telephone control */

body:has(#frmCheckout) #registration
.intl-tel-input {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

body:has(#frmCheckout) #registration
.intl-tel-input input[type="tel"] {
    width: 100% !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
    border: 1px solid #d8e4ed !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #17334b !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-right: 10px !important;
    font-size: 14px !important;
}

body:has(#frmCheckout) #registration
.intl-tel-input .selected-flag {
    border-radius: 9px 0 0 9px;
}

/* Field descriptions */

body:has(#frmCheckout) #registration .field-help-text {
    display: block !important;
    color: #718599 !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    margin-top: 6px !important;
}

/* WhatsApp cards */

body:has(#frmCheckout) #registration .hc-wa-col {
    background: #f4faff !important;
    border: 1px solid #d7e9f5 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    min-height: 165px !important;
}

body:has(#frmCheckout) #registration
.hc-wa-col .inputBox {
    min-height: 55px !important;
}

body:has(#frmCheckout) #registration
.hc-wa-col .inputText {
    font-size: 12px !important;
}

body:has(#frmCheckout) #registration
.hc-wa-col .intl-tel-input input[type="tel"] {
    padding-left: 55px !important;
}

body:has(#frmCheckout) #registration
.hc-wa-col .checkbox.agry {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
}

body:has(#frmCheckout) #registration
.hc-wa-col .checkbox.agry label {
    color: #173d55 !important;
    font-weight: 650 !important;
    font-size: 12px !important;
}

body:has(#frmCheckout) #registration .hc-wa-note {
    color: #607b90 !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    margin: 7px 0 0 !important;
}

body:has(#frmCheckout) #registration .hc-wa-copy {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    color: #365970 !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    margin-top: 9px !important;
    cursor: pointer;
}

body:has(#frmCheckout) #registration
.hc-wa-copy input {
    margin: 2px 0 0 !important;
    flex-shrink: 0;
}

/* Password section */

body:has(#frmCheckout) #registration
#containerNewUserSecurity .inputBox {
    min-height: 64px !important;
}

body:has(#frmCheckout) #registration
#containerNewUserSecurity .generate-password {
    border-radius: 8px !important;
    min-height: 38px !important;
    padding: 8px 14px !important;
}

/* Mailing list and terms */

body:has(#frmCheckout) #registration
.checkbox.agry {
    border-radius: 9px !important;
}

body:has(#frmCheckout) #registration
input[type="checkbox"] {
    accent-color: #079fd2;
}

/* Registration button */

body:has(#frmCheckout) #registration
input[type="submit"] {
    min-height: 49px !important;
    min-width: 170px !important;
    padding: 12px 25px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
    font-weight: 750 !important;
    letter-spacing: 1px !important;
    background: linear-gradient(
        135deg,#05b4e5,#087cba
    ) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 5px 15px rgba(0,135,195,.2) !important;
    cursor: pointer;
}

body:has(#frmCheckout) #registration
input[type="submit"]:hover {
    background: linear-gradient(
        135deg,#079bcf,#086b9f
    ) !important;
    box-shadow: 0 7px 19px rgba(0,135,195,.25) !important;
}

/* Desktop: preserve three-column grouping */

@media (min-width: 992px) {
    body:has(#frmCheckout) #registration
    .regst-form .form-group > .col-md-4 {
        width: 33.333333% !important;
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

/* Tablet */

@media (min-width: 768px) and (max-width: 991px) {
    body:has(#frmCheckout) #registration
    .regst-form .form-group > .col-md-4 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Mobile */

@media (max-width: 767px) {
    body:has(#frmCheckout) #registration
    .regst-form .form-group {
        display: block !important;
    }

    body:has(#frmCheckout) #registration
    .regst-form .form-group > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin-bottom: 13px !important;
    }

    body:has(#frmCheckout) #registration
    .inputBox > input.input,
    body:has(#frmCheckout) #registration
    .inputBox > select.input {
        font-size: 16px !important;
    }

    body:has(#frmCheckout) #registration
    .hc-wa-col {
        min-height: 0 !important;
    }

    body:has(#frmCheckout) #registration
    input[type="submit"] {
        width: 100% !important;
    }
}
