/* =====================================================================
   MarketConnect — Seller & Delivery registration showcase
   Green brand system (Market Green #1F5C2E · Basket Orange #E6821E),
   animated phone that cycles real app screenshots, app-store links.
   Everything scoped under .mcx so nothing leaks into other pages.
   ===================================================================== */
.mcx {
    --ink: #1A2E1C;
    --green: #1F5C2E;
    --green-700: #184A25;
    --orange: #E6821E;
    --orange-dark: #B0631A;
    --orange-tint: #FBEBDA;
    --leaf: #96C878;
    --leaf-tint: #D7EBD8;
    --mist: #E3ECE1;
    --mist-2: #C9D6C6;
    --tint: #F4F8F1;
    --muted: #5C6B5D;
    --radius: 20px;
    --radius-sm: 12px;
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
}
.mcx * { box-sizing: border-box; }
.mcx img { max-width: 100%; display: block; }

/* ---------------------------------------------------------------- hero */
.mcx-hero { position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(130% 120% at 82% 8%, rgba(150,200,120,.26), transparent 55%),
        radial-gradient(90% 90% at 102% 100%, rgba(230,130,30,.22), transparent 52%),
        linear-gradient(120deg, var(--green) 40%, #123c1c 100%);
}
.mcx-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
    max-width: 1180px; margin: 0 auto; padding: 60px 20px 72px; }
.mcx-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 12px;
    letter-spacing: .15em; text-transform: uppercase; color: var(--leaf); margin-bottom: 16px; }
.mcx-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--orange); }
.mcx-hero h1 { font-family: 'Poppins', 'Inter', sans-serif; font-weight: 800; letter-spacing: -.02em;
    line-height: 1.06; font-size: clamp(32px, 5vw, 52px); margin: 0 0 16px; color: #fff; }
.mcx-hero h1 em { font-style: normal; color: var(--leaf); }
.mcx-hero__lede { font-size: clamp(15px, 2vw, 18px); color: rgba(255,255,255,.88); max-width: 480px; margin: 0 0 24px; }
.mcx-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.mcx-points li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: rgba(255,255,255,.92); }
.mcx-points i { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.16);
    display: grid; place-items: center; color: var(--leaf); flex: none; }
.mcx-points svg { width: 14px; height: 14px; }

.mcx-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mcx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600;
    font-size: 15px; padding: 13px 26px; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent;
    cursor: pointer; transition: .18s ease; }
.mcx-btn--accent { background: var(--orange); color: #fff; }
.mcx-btn--accent:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); }
.mcx-btn--light { background: #fff; color: var(--green); }
.mcx-btn--light:hover { color: var(--green); transform: translateY(-2px); }
.mcx-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.mcx-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.mcx-btn--primary { background: var(--green); color: #fff; }
.mcx-btn--primary:hover { background: var(--green-700); color: #fff; }

/* ---------------------------------------------------------------- animated phone */
.mcx-stage { position: relative; display: grid; place-items: center; min-height: 540px; }
.mcx-glow { position: absolute; width: 440px; height: 440px; border-radius: 50%; z-index: 0;
    background: radial-gradient(circle, rgba(150,200,120,.33), transparent 62%); filter: blur(6px); }
.mcx-orbit { position: absolute; width: 400px; height: 400px; border: 1px dashed rgba(255,255,255,.22);
    border-radius: 50%; z-index: 0; animation: mcx-spin 40s linear infinite; }
.mcx-phone { position: relative; z-index: 2; width: 290px; max-width: 78vw; background: #10230f;
    border: 6px solid #0d1c0c; border-radius: 40px; padding: 10px; box-shadow: 0 34px 70px rgba(0,0,0,.4); }
.mcx-float { animation: mcx-bob 6s ease-in-out infinite; }
.mcx-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px;
    background: #0d1c0c; border-radius: 0 0 14px 14px; z-index: 3; }
.mcx-screens { position: relative; width: 100%; aspect-ratio: 9 / 19.4; border-radius: 30px; overflow: hidden; background: #fff; }
.mcx-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; }
.mcx-screens--3 .mcx-screen { animation: mcx-cycle3 10.5s infinite; }
.mcx-screens--3 .mcx-screen:nth-child(1) { animation-delay: 0s; }
.mcx-screens--3 .mcx-screen:nth-child(2) { animation-delay: 3.5s; }
.mcx-screens--3 .mcx-screen:nth-child(3) { animation-delay: 7s; }
.mcx-screens--6 .mcx-screen { animation: mcx-cycle6 16.8s infinite; }
.mcx-screens--6 .mcx-screen:nth-child(1) { animation-delay: 0s; }
.mcx-screens--6 .mcx-screen:nth-child(2) { animation-delay: 2.8s; }
.mcx-screens--6 .mcx-screen:nth-child(3) { animation-delay: 5.6s; }
.mcx-screens--6 .mcx-screen:nth-child(4) { animation-delay: 8.4s; }
.mcx-screens--6 .mcx-screen:nth-child(5) { animation-delay: 11.2s; }
.mcx-screens--6 .mcx-screen:nth-child(6) { animation-delay: 14s; }
.mcx-screens--7 .mcx-screen { animation: mcx-cycle7 16.8s infinite; }
.mcx-screens--7 .mcx-screen:nth-child(1) { animation-delay: 0s; }
.mcx-screens--7 .mcx-screen:nth-child(2) { animation-delay: 2.4s; }
.mcx-screens--7 .mcx-screen:nth-child(3) { animation-delay: 4.8s; }
.mcx-screens--7 .mcx-screen:nth-child(4) { animation-delay: 7.2s; }
.mcx-screens--7 .mcx-screen:nth-child(5) { animation-delay: 9.6s; }
.mcx-screens--7 .mcx-screen:nth-child(6) { animation-delay: 12s; }
.mcx-screens--7 .mcx-screen:nth-child(7) { animation-delay: 14.4s; }

.mcx-chip { position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 14px;
    padding: 11px 14px; box-shadow: 0 16px 34px rgba(0,0,0,.18); font-size: 12px; display: flex; align-items: center; gap: 10px; }
.mcx-chip small { color: var(--muted); font-size: 10.5px; display: block; }
.mcx-chip b { font-family: 'Poppins', sans-serif; font-size: 14px; }
.mcx-chip__ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; }
.mcx-chip__ic svg { width: 18px; height: 18px; }
.mcx-chip--a { top: 54px; left: -6px; animation: mcx-bob 6s ease-in-out .6s infinite; }
.mcx-chip--b { bottom: 70px; right: -10px; animation: mcx-bob 6.6s ease-in-out .3s infinite; }
.mcx-chip--a .mcx-chip__ic { background: var(--green); }
.mcx-chip--b .mcx-chip__ic { background: var(--orange); }

.mcx-dots { position: absolute; bottom: 8px; z-index: 3; display: flex; gap: 7px; }
.mcx-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); }

@keyframes mcx-cycle3 {
    0% { opacity: 0; transform: scale(1.03); }
    4% { opacity: 1; transform: scale(1); }
    29% { opacity: 1; transform: scale(1); }
    33% { opacity: 0; transform: scale(1.02); }
    100% { opacity: 0; }
}
@keyframes mcx-cycle6 {
    0% { opacity: 0; transform: scale(1.03); }
    2.5% { opacity: 1; transform: scale(1); }
    14% { opacity: 1; transform: scale(1); }
    16.6% { opacity: 0; transform: scale(1.02); }
    100% { opacity: 0; }
}
@keyframes mcx-cycle7 {
    0% { opacity: 0; transform: scale(1.03); }
    2% { opacity: 1; transform: scale(1); }
    12% { opacity: 1; transform: scale(1); }
    14.2% { opacity: 0; transform: scale(1.02); }
    100% { opacity: 0; }
}
@keyframes mcx-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes mcx-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- app store links */
.mcx-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.mcx-store { display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: #fff;
    border-radius: 14px; padding: 10px 18px 10px 14px; text-decoration: none; transition: .18s ease; }
.mcx-store:hover { color: #fff; transform: translateY(-2px); }
.mcx-store img { width: 34px; height: 34px; border-radius: 9px; }
.mcx-store span { display: grid; line-height: 1.15; }
.mcx-store small { font-size: 10px; opacity: .78; text-transform: uppercase; letter-spacing: .06em; }
.mcx-store b { font-size: 15px; font-family: 'Poppins', sans-serif; }
.mcx-store--light { background: #fff; color: var(--ink); border: 1px solid var(--mist); }
.mcx-store--light:hover { color: var(--ink); }

/* ---------------------------------------------------------------- sections / strips */
.mcx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.mcx-strip { background: var(--tint); padding: 44px 0; }
.mcx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mcx-step { display: flex; gap: 13px; align-items: flex-start; }
.mcx-step__n { width: 34px; height: 34px; border-radius: 50%; background: var(--leaf-tint); color: var(--green);
    font-weight: 800; font-family: 'Poppins', sans-serif; display: grid; place-items: center; flex: none; }
.mcx-step b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; font-family: 'Poppins', sans-serif; }
.mcx-step span { font-size: 13px; color: var(--muted); }
/* live progress states driven by the wizard */
.mcx-step { transition: opacity .2s ease; }
.mcx-step:not(.is-active):not(.is-done) { opacity: .55; }
.mcx-step.is-active .mcx-step__n { background: var(--orange); color: #fff; box-shadow: 0 0 0 4px var(--orange-tint); }
.mcx-step.is-done .mcx-step__n { background: var(--green); color: #fff; font-size: 0; }
.mcx-step.is-done .mcx-step__n::after { content: '✓'; font-size: 16px; }

/* ------------------------------------------------ registration form (modern restyle) */
.mcx #seller-registration { background: var(--tint); }
.mcx #seller-registration .py-5 { padding-top: 40px !important; padding-bottom: 40px !important; }
.mcx .create-an-account { position: relative; background: #fff; border: 1px solid var(--mist);
    border-radius: var(--radius); box-shadow: 0 16px 44px rgba(26,46,28,.07); overflow: hidden; }
.mcx .create-an-account-bg-img { display: none !important; }
.mcx .create-an-account > .row { position: relative; z-index: 1; }
.mcx .second-el .card,
.mcx .first-el .create-an-account .bg-white { border: none !important; box-shadow: none !important; }
.mcx .second-el .card { background: #fff; border-radius: var(--radius) !important;
    box-shadow: 0 16px 44px rgba(26,46,28,.07) !important; }
/* inner grouped blocks become soft tinted panels */
.mcx .card-body > .border,
.mcx .second-el .card-body > .border,
.mcx .create-an-account .border.p-3 {
    border: 1px solid var(--mist) !important; border-radius: var(--radius-sm) !important;
    background: var(--tint); }
.mcx h3, .mcx h4 { font-family: 'Poppins', sans-serif; color: var(--green); font-weight: 700; }
.mcx textarea.form-control { border-radius: 11px; border: 1.5px solid var(--mist-2); }
.mcx .btn-secondary { border-radius: 999px; font-weight: 600; padding: 11px 24px;
    background: #fff; color: var(--ink); border: 1.5px solid var(--mist-2); }
.mcx .btn-secondary:hover { background: var(--tint); color: var(--ink); }
/* select2 → match the inputs */
.mcx .select2-container { width: 100% !important; }
.mcx .select2-container--default .select2-selection--single,
.mcx .select2-container--default .select2-selection--multiple {
    border: 1.5px solid var(--mist-2); border-radius: 11px; min-height: 46px; padding: 5px 8px; }
.mcx .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 34px; color: var(--ink); }
.mcx .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }
.mcx .select2-container--default.select2-container--focus .select2-selection--single,
.mcx .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,92,46,.12); }
.mcx .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: var(--leaf-tint); border: none; border-radius: 8px; color: var(--ink); padding: 3px 9px; }
.select2-dropdown { border: 1.5px solid var(--mist-2); border-radius: 11px; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--green); }
/* location map + upload tweaks */
.mcx #vendor_shop_location_map_canvas { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--mist-2); }
.mcx .terms-and-conditions-area, .mcx .custom-checkbox { font-size: 14px; }

@media (max-width: 575px) {
    .mcx #seller-registration .create-an-account,
    .mcx #seller-registration .second-el .card { border-radius: var(--radius-sm); }
    .mcx .card-body { padding: 16px !important; }
    .mcx .create-an-account { padding: 14px !important; }
}

/* ---------------------------------------------------------------- form card + inputs (scoped restyle) */
.mcx-form-section { padding: 56px 0; }
.mcx-card { background: #fff; border: 1px solid var(--mist); border-radius: var(--radius);
    box-shadow: 0 14px 40px rgba(26,46,28,.06); padding: 26px; }
.mcx h2, .mcx .mcx-h2 { font-family: 'Poppins', sans-serif; font-weight: 800; color: var(--green);
    letter-spacing: -.01em; font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 10px; }
.mcx h4 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--green); }
.mcx-section-title { font-size: 15px; font-weight: 700; color: var(--green); font-family: 'Poppins', sans-serif;
    display: flex; align-items: center; gap: 10px; }
.mcx-section-title .mcx-dot { width: 28px; height: 28px; border-radius: 9px; background: var(--tint); color: var(--green);
    display: grid; place-items: center; flex: none; }
.mcx-section-title .mcx-dot svg { width: 15px; height: 15px; }
.mcx label { font-size: 13.5px; font-weight: 500; color: var(--ink); margin-bottom: 5px; }
.mcx .form-control, .mcx .form-control:focus { border-radius: 11px; border: 1.5px solid var(--mist-2);
    padding: 11px 14px; font-size: 14px; }
.mcx .form-control:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,92,46,.12); }
.mcx .btn--primary, .mcx .proceed-to-next-btn { background: var(--green); border-color: var(--green);
    border-radius: 999px; font-weight: 600; padding: 11px 26px; color: #fff; }
.mcx .btn--primary:hover, .mcx .proceed-to-next-btn:hover { background: var(--green-700); border-color: var(--green-700); }
.mcx a.text-primary, .mcx .text-primary { color: var(--orange-dark) !important; }
.mcx-note { background: var(--tint); border: 1px solid var(--mist); border-radius: var(--radius-sm);
    font-size: 13px; color: var(--muted); }
.mcx-note i { color: var(--green); }

/* badge rows used in hero trust */
.mcx-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.mcx-trust span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px;
    padding: 7px 14px; font-size: 12.5px; color: #fff; }

/* big download band */
.mcx-download { background: var(--green); color: #fff; padding: 52px 0; }
.mcx-download__inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.mcx-download h2, .mcx-download .mcx-h2 { color: #fff; }
.mcx-download p { color: rgba(255,255,255,.82); font-size: 15px; margin: 6px 0 0; max-width: 460px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 991px) {
    .mcx-hero__inner { grid-template-columns: 1fr; gap: 20px; padding: 44px 20px 56px; text-align: center; }
    .mcx-eyebrow, .mcx-cta, .mcx-stores { justify-content: center; }
    .mcx-points { max-width: 420px; margin-left: auto; margin-right: auto; text-align: left; }
    .mcx-stage { min-height: 500px; margin-top: 10px; }
    .mcx-steps { grid-template-columns: 1fr; }
    .mcx-download__inner { grid-template-columns: 1fr; text-align: center; }
    .mcx-download .mcx-stores { justify-content: center; }
}
@media (max-width: 560px) {
    .mcx-chip--a { left: 0; } .mcx-chip--b { right: 0; }
    .mcx-glow, .mcx-orbit { width: 320px; height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
    .mcx-float, .mcx-chip--a, .mcx-chip--b, .mcx-orbit { animation: none !important; }
    .mcx-screens--3 .mcx-screen, .mcx-screens--6 .mcx-screen, .mcx-screens--7 .mcx-screen { animation: none !important; }
    .mcx-screens--3 .mcx-screen:nth-child(1), .mcx-screens--6 .mcx-screen:nth-child(1), .mcx-screens--7 .mcx-screen:nth-child(2) { opacity: 1; }
}
