

/*
 * CREATE / TOOL PAGE STANDARD
 * Visual changes only.
 */

/* -------------------------------------------------
   Remove duplicate process/CTA elements
-------------------------------------------------- */

[class*="steps-card"],
[aria-label="Three simple steps"] {
    display:none!important;
}

a[class*="hero__cta"],
a[class*="hero-cta"],
button[class*="hero__cta"],
button[class*="hero-cta"] {
    display:none!important;
}


/* -------------------------------------------------
   Remove the now-empty steps column and let
   hero content use the full width
-------------------------------------------------- */

.row:has([class*="steps-card"])
> [class*="col-"]:has([class*="steps-card"]) {
    display:none!important;
}

.row:has([class*="steps-card"])
> [class*="col-"]:not(:has([class*="steps-card"])) {
    flex:0 0 100%!important;
    width:100%!important;
    max-width:100%!important;
}


/* -------------------------------------------------
   Compact ePaystubs hero
-------------------------------------------------- */

section[class*="hero"] {
    min-height:0!important;
    padding:30px 0 24px!important;
    margin-top:0!important;
    margin-bottom:0!important;
    background:#f4fbfc!important;
    border:0!important;
    box-shadow:none!important;
}

section[class*="hero"]::before,
section[class*="hero"]::after {
    display:none!important;
    content:none!important;
}

[class*="hero__content"],
[class*="hero-content"] {
    width:100%!important;
    max-width:820px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    text-align:center!important;
}


/* -------------------------------------------------
   W-2 Create H1 standard
-------------------------------------------------- */

main h1:not(#epay-create-h1-force-a) {
    font-family:"Poppins",sans-serif!important;
    font-size:var(--epay-create-heading, clamp(28px, 4vw, 40px))!important;
    font-weight:700!important;
    line-height:1.25!important;
    letter-spacing:-0.8px!important;
    text-align:center!important;
    margin-top:0!important;
    margin-bottom:10px!important;
    padding:0!important;
    max-width:none!important;
    color:#062b45!important;
    font-style:normal!important;
    text-transform:none!important;
}


/* -------------------------------------------------
   Hero description standard
-------------------------------------------------- */

section[class*="hero"] p,
[class*="hero__description"],
[class*="hero-description"],
[class*="hero__subtitle"],
[class*="hero-subtitle"] {
    max-width:760px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    margin-top:0!important;
    margin-bottom:20px!important;
    padding:0!important;
    font-family:"Open Sans",sans-serif!important;
    font-size:17px!important;
    font-weight:400!important;
    line-height:1.65!important;
    color:#17384d!important;
    text-align:justify!important;
    text-justify:inter-word!important;
}


/* -------------------------------------------------
   Keep form close to hero
-------------------------------------------------- */

[class*="layout-container"] {
    margin-top:0!important;
    padding-top:20px!important;
}


/* -------------------------------------------------
   Primary form action style
-------------------------------------------------- */

form button[type="submit"],
form input[type="submit"],
form button[id*="FormButton"],
form button[id*="formButton"],
form .btn-primary {
    min-height:52px!important;
    border:0!important;
    border-radius:8px!important;
    background:#1a9ba8!important;
    color:#fff!important;
    font-family:"Open Sans",sans-serif!important;
    font-size:16px!important;
    font-weight:700!important;
    line-height:1.2!important;
    box-shadow:none!important;
}

form button[type="submit"]:hover,
form input[type="submit"]:hover,
form button[id*="FormButton"]:hover,
form button[id*="formButton"]:hover,
form .btn-primary:hover,
form button[type="submit"]:focus,
form input[type="submit"]:focus,
form button[id*="FormButton"]:focus,
form button[id*="formButton"]:focus,
form .btn-primary:focus {
    background:#158793!important;
    color:#fff!important;
}


/* -------------------------------------------------
   Actual tool page never needs global sticky CTA
-------------------------------------------------- */

.epay-global-mobile-cta-v1 {
    display:none!important;
}


/* -------------------------------------------------
   Mobile
-------------------------------------------------- */

@media (max-width:767.98px) {

    section[class*="hero"] {
        padding:24px 0 18px!important;
    }

    section[class*="hero"] p,
    [class*="hero__description"],
    [class*="hero-description"],
    [class*="hero__subtitle"],
    [class*="hero-subtitle"] {
        font-size:16px!important;
        margin-bottom:18px!important;
    }

    [class*="layout-container"] {
        padding-top:14px!important;
    }
}

