/* Tamerx Apply page — additions on top of contact.css (loaded after it). */

/* Field labels above inputs (contact page is placeholder-only) */
.tx-apply-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 8px;
}

/* Labeled fields read better with gray placeholders (contact.css forces black) */
.tx-apply-form .tx-contact-input::placeholder { color: #8a8a8a !important; }

/* Mockup textarea is shorter than the contact page's 150px one */
.tx-apply-form .tx-contact-textarea { min-height: 110px; }

/* Get In Touch cards — single column on this page (contact page is 2-col) */
.tx-contact-cards { grid-template-columns: 1fr; }

/* Resume upload — native file input inside an input-style box */
.tx-apply-file {
    width: 100%;
    background: #fff;
    border: 1px solid #cccccc;
    border-radius: 2px;
    padding: 10px 12px;
    margin-bottom: 16px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: 'Gotham', sans-serif;
    color: var(--text-dark);
}
.tx-apply-file:focus { outline: none; border-color: var(--brand-green); }
.tx-apply-form .tx-apply-file.mage-error {
    border-color: #d93636;
    background-color: #fdf3f3;
}

/* ===== Apply thank-you page (apply/thankyou.phtml) ===== */

/* Check icon + THANK YOU! on one row; the row takes over the title's hero top margin */
.tx-apply-ty-titlerow { display: flex; align-items: center; gap: 20px; margin: 106px 0 6px; }
.tx-apply-ty-titlerow .tx-contact-hero-title { margin: 0; }
.tx-apply-ty-check { width: 64px; height: 64px; }

/* WHAT HAPPENS NEXT — white band with 3 divided steps (mirrors the distributors thank-you) */
.tx-apply-ty-next { background: #fff; }
.tx-apply-ty-next-inner { max-width: 1320px; margin: 0 auto; padding: 64px 50px 72px; }
.tx-apply-ty-next-title {
    text-align: center;
    font-size: 29px;
    font-weight: 900;
    color: var(--text-dark);
    margin: 0 0 44px;
    position: relative;
}
.tx-apply-ty-next-title::before,
.tx-apply-ty-next-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 32%;
    height: 1px;
    background: var(--brand-green);
}
.tx-apply-ty-next-title::before { left: 0; }
.tx-apply-ty-next-title::after  { right: 0; }
.tx-apply-ty-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
}
.tx-apply-ty-step { text-align: center; padding: 0 36px; position: relative; }
.tx-apply-ty-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #d8d8d8;
}
.tx-apply-ty-step-head { display: flex; align-items: center; justify-content: center; gap: 26px; margin-bottom: 16px; }
.tx-apply-ty-step-number {
    width: 40px;
    height: 40px;
    background: var(--brand-green);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
}
.tx-apply-ty-step-icon { width: 50px; height: 50px; object-fit: contain; }
.tx-apply-ty-step-title { font-size: 21px; font-weight: 900; margin: 0 0 12px; color: var(--text-dark); letter-spacing: 0.4px; }
.tx-apply-ty-step-text { font-size: 15px; line-height: 1.55; color: #4a4a4a; margin: 0; max-width: 280px; margin-left: auto; margin-right: auto; }
.tx-apply-ty-contact { text-align: center; margin: 48px 0 0; font-size: 15px; color: var(--text-dark); }
.tx-apply-ty-contact-link { color: var(--brand-green) !important; font-weight: 800; text-decoration: underline; margin-left: 6px; letter-spacing: 0.3px; }
.tx-apply-ty-contact-link:hover { text-decoration: underline; }

@media (max-width: 1100px) {
    .tx-apply-ty-titlerow { margin-top: 36px; }
    .tx-apply-ty-check { width: 52px; height: 52px; }
    .tx-apply-ty-next-title::before, .tx-apply-ty-next-title::after { width: 18%; }
    .tx-apply-ty-steps { grid-template-columns: 1fr; gap: 36px; }
    .tx-apply-ty-step:not(:last-child)::after { display: none; }
}
@media (max-width: 640px) {
    .tx-apply-ty-titlerow { margin-top: 28px; gap: 14px; }
    .tx-apply-ty-check { width: 44px; height: 44px; }
    .tx-apply-ty-next-inner { padding: 44px 24px 52px; }
    .tx-apply-ty-next-title::before, .tx-apply-ty-next-title::after { display: none; }
}
