/* Innoware 25 — additions for the PHP site (form, video embeds, CTA) */

/* mobile-only hero kicker (hidden on desktop) */
.hero__kicker--m { display: none; }

/* desktop: kicker badge sits to the right of the logo in the nav */
.nav__left { display: flex; align-items: center; gap: 18px; }
.nav__kicker { margin: 0; }
.hero__copy .hero__kicker { display: none; }   /* original in-copy badge no longer used */
@media (max-width: 900px) {
    .nav__kicker { display: none; }             /* on mobile the badge shows above the video */
}

/* postcard (image) greeting */
.gcard__cardwrap{ border-radius:14px; overflow:hidden; margin-bottom:16px; background:#f0f3f8;
  line-height:0; }
.gcard__cardimg{ width:100%; height:auto; display:block; cursor:zoom-in; transition:.25s; }
.gcard--card .gcard__cardimg:hover{ transform:scale(1.015); }
/* in popup mode keep postcard cards from clamping the image */
.greet-popup-on .gcard--card .gcard__cardwrap{ max-height:none; }

/* stats: 5 columns + ISO certificate badge */
.stats__grid {
    grid-template-columns: repeat(5, 1fr) !important;
    align-items: center;
}
.stat--cert {
    padding: 0;
}
.stat--cert::after {
    display: none !important;
}
.cert-img {
    max-width: 100%;
    width: auto;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
    padding: 8px;
}
@media (max-width: 900px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px 12px;
    }
    .stat--cert {
        grid-column: 1 / -1;
        justify-self: center;
    }
}
@media (max-width: 560px) {
    .stats__grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* compact greeting tabs on phones */
@media (max-width: 560px) {
    .tabs {
        gap: 6px;
        flex-wrap: wrap;
        margin: -16px 0 32px;
    }
    .tab {
        font-size: 13px;
        padding: 12px 12px;
    }
    /* hero kicker badge: smaller so it fits on one line */
    .hero__kicker {
        font-size: 10.5px;
        letter-spacing: 0.08em;
        padding: 7px 14px;
        line-height: 1.3;
        max-width: 100%;
        text-align: center;
    }
    /* hero video on phones: full width (logo↔button line), centered, smaller play btn */
    .hero__video {
        width: 94% !important;
        margin: 0 auto !important;
    }
    .hero__play {
        width: 64px !important;
        height: 64px !important;
    }
    .hero__play svg {
        width: 26px !important;
        height: 26px !important;
    }
}

/* links (LinkedIn / website) under the role */
.gcard__links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 14px;
    margin-top: 5px;
}
.gcard__li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--cyan);
    text-decoration: none;
}
.gcard__li:hover {
    text-decoration: underline;
}
.gcard__li svg {
    flex: none;
}

/* festive icon instead of quotation mark */
.gcard__quote {
    font-size: 30px !important;
    line-height: 1 !important;
    height: auto !important;
    opacity: 1 !important;
    margin-bottom: 10px;
}

/* signature shown on top of the card */
.gcard.sig-top .gcard__person {
    border-top: 0;
    border-bottom: 1px solid var(--line);
    padding-top: 0;
    padding-bottom: 16px;
    margin-bottom: 6px;
}

/* give the video side more room in the hero grid */
body .hero__inner:has(.hero__video) {
    grid-template-columns: 0.85fr 1.55fr;
    gap: 64px;
}
body .hero__inner:has(.hero__video) .hero__logo {
    justify-content: flex-end;
}
/* nudge video toward the right edge so it keeps its size despite the bigger gap */
body .hero__inner:has(.hero__video) .hero__video {
    margin-right: -15px;
}
@media (max-width: 900px) {
    body .hero__inner:has(.hero__video) {
        grid-template-columns: 1fr;
    }
    body .hero__inner:has(.hero__video) .hero__video {
        margin: 0 auto !important;
    }
    /* mobile: show the standalone kicker above the video, hide the in-copy one */
    .hero__kicker--m { display: inline-flex !important; order: -2; margin: 0 0 18px; justify-self: center; }
    .hero__copy .hero__kicker { display: none; }
}

/* brand glow under the hero video */
.hero__logo:has(.hero__video) {
    position: relative;
}
.hero__logo:has(.hero__video)::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 8% 4%;
    background:
        radial-gradient(
            55% 55% at 28% 38%,
            rgba(41, 180, 214, 0.5),
            transparent 70%
        ),
        radial-gradient(
            55% 55% at 76% 72%,
            rgba(240, 119, 47, 0.45),
            transparent 70%
        ),
        radial-gradient(
            50% 50% at 55% 55%,
            rgba(211, 181, 138, 0.3),
            transparent 75%
        );
    filter: blur(64px);
    opacity: 0.85;
    pointer-events: none;
    animation: heroGlow 7s ease-in-out infinite;
}
@keyframes heroGlow {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.95;
    }
}

/* hero video (instead of logo) — big poster + branded play button */
.hero__video {
    border-radius: 34px;
}
.hero__video {
    position: relative;
    z-index: 2;
    width: min(720px, 96%);
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #0b1226 center/cover no-repeat;
    cursor: pointer;
}
.hero__video::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 18, 38, 0.15),
        rgba(11, 18, 38, 0.45)
    );
    transition: 0.3s;
}
.hero__video:hover::after {
    background: rgba(11, 18, 38, 0.25);
}
.hero__video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 3;
}
.hero__play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background: var(--orange);
    box-shadow: 0 14px 40px rgba(240, 119, 47, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
}
.hero__video:hover .hero__play {
    transform: translate(-50%, -50%) scale(1.08);
}
.hero__play svg {
    width: 42px;
    height: 42px;
    fill: #fff;
    margin-left: 5px;
}
@media (max-width: 560px) {
    .hero__play {
        width: 72px;
        height: 72px;
    }
    .hero__play svg {
        width: 32px;
        height: 32px;
    }
}

/* greetings column choice (per tab) from admin settings */
.greet-grid[data-cols="2"] {
    grid-template-columns: repeat(2, 1fr) !important;
}
.greet-grid[data-cols="3"] {
    grid-template-columns: repeat(3, 1fr) !important;
}
@media (max-width: 900px) {
    .greet-grid[data-cols="2"],
    .greet-grid[data-cols="3"] {
        grid-template-columns: 1fr !important;
    }
}

/* default (no popup): cards size to their content, full text, no clipping */
.greet-section:not(.greet-popup-on) .greet-grid {
    align-items: start;
}

/* popup mode: clickable cards of equal height; full text opens in the modal */
.greet-popup-on .greet-grid {
    align-items: stretch;
}
.greet-popup-on .gcard {
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.greet-popup-on .gcard .gcard__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.greet-popup-on .gcard .gcard__text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.greet-popup-on .gcard .gcard__person {
    margin-top: auto;
}
.greet-popup-on .gcard--video .gvideo {
    pointer-events: none;
}
/* inside the modal show everything in full */
.gmodal__content .gcard__text {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}
.gmodal__content .gcard__title {
    -webkit-line-clamp: unset !important;
    display: block !important;
}

/* greetings modal */
.gmodal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 24, 48, 0.7);
    padding: 24px;
}
.gmodal.open {
    display: flex;
}
.gmodal__box {
    background: #fff;
    border-radius: 20px;
    max-width: 620px;
    width: 100%;
    max-height: 88vh;
    overflow: auto;
    padding: 34px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.gmodal__close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
    font-weight: 300;
    background: none;
    border: 0;
    z-index: 2;
}
.gmodal__box {
    padding: 40px 40px 38px;
}
/* when the signature is on top inside the modal: border below it, not above */
.gmodal__content .gcard__person:first-child {
    border-top: 0;
    border-bottom: 1px solid var(--line);
    padding-top: 4px;
    padding-bottom: 20px;
    margin-bottom: 18px;
}
/* video fills the modal width */
.gmodal__content .gvideo {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 14px;
    overflow: hidden;
    margin: 6px 0 22px;
    background: #000;
}
.gmodal__content .gvideo iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* roomier text */
.gmodal__content {
    font-size: 16px;
    line-height: 1.62;
}
.gmodal__content .gcard__quote {
    margin-bottom: 12px;
}
.gmodal__content .gcard__title {
    margin: 4px 0 12px;
    font-size: 20px;
}
.gmodal__content .gcard__text {
    margin-bottom: 22px;
}
.gmodal__content .gcard__person {
    padding-top: 18px;
}

/* ── Festive background decorations ── */

/* HERO (first screen): confetti dots + ring outlines */
.hero__inner {
    position: relative;
    z-index: 2;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
    background-repeat: no-repeat;
    background-image:
        radial-gradient(circle, var(--cyan) 0 5px, transparent 6px),
        radial-gradient(circle, var(--orange) 0 5px, transparent 6px),
        radial-gradient(circle, var(--gold) 0 4px, transparent 5px),
        radial-gradient(circle, var(--cyan-lt) 0 4px, transparent 5px),
        radial-gradient(circle, var(--orange) 0 3px, transparent 4px),
        radial-gradient(circle, var(--gold) 0 3px, transparent 4px);
    background-position:
        8% 22%,
        90% 30%,
        16% 72%,
        80% 80%,
        50% 12%,
        28% 44%;
}
.hero__ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
}

.stats,
.greet-section {
    position: relative;
    overflow: hidden;
}
.stats > .wrap,
.greet-section > .wrap {
    position: relative;
    z-index: 2;
}

/* outline rings */
.greet-section::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    right: -110px;
    top: 40px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(41, 180, 214, 0.14);
    border-radius: 50%;
}
.greet-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    left: -80px;
    bottom: 30px;
    width: 210px;
    height: 210px;
    border: 2px solid rgba(240, 119, 47, 0.13);
    border-radius: 50%;
}

/* small floating confetti bars in the closing section */
.closing::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
    top: 18%;
    left: 12%;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    transform: rotate(35deg);
    background: var(--cyan);
    box-shadow:
        240px 60px 0 var(--orange),
        520px -20px 0 var(--gold),
        760px 120px 0 var(--cyan-lt),
        1040px 40px 0 var(--orange);
}
.closing .wrap {
    position: relative;
    z-index: 2;
}

/* decorative layers must never intercept clicks (fixes unclickable buttons) */
.closing__arc,
.form-hero__arc,
.hero__halo,
.hero__grid,
.tl-bg,
.tl-overlay,
.tl__spine,
.tl__progress {
    pointer-events: none;
}
.closing .wrap,
.closing .btn,
.form-hero__inner {
    position: relative;
    z-index: 2;
}

/* make the [hidden] attribute actually hide the greetings grid
   (overrides .greet-grid{display:grid}) — this is what makes tabs work */
.greet-grid[hidden] {
    display: none !important;
}

/* ── Timeline background: pure CSS (navy gradient + grid + glow) ── */
.timeline-section {
    background: #0f1830;
}
.tl-bg--css {
    background:
        radial-gradient(
            900px 520px at 18% 12%,
            rgba(41, 180, 214, 0.18),
            transparent 60%
        ),
        radial-gradient(
            820px 560px at 85% 78%,
            rgba(240, 119, 47, 0.14),
            transparent 62%
        ),
        linear-gradient(160deg, #16223f 0%, #0f1830 55%, #0b1226 100%);
}
.timeline-section .tl-overlay {
    background: linear-gradient(
        180deg,
        rgba(15, 24, 48, 0.25),
        rgba(11, 18, 38, 0.55)
    );
}

/* TIMELINE: festive rings + soft firework lights */
.timeline-section {
    position: relative;
}
.timeline-section .wrap {
    position: relative;
    z-index: 3;
}
.timeline-section::before {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
    left: -120px;
    top: 70px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(41, 180, 214, 0.16);
}
.timeline-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
    right: -100px;
    bottom: 120px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: 2px solid rgba(240, 119, 47, 0.15);
}
/* glowing firework dots */
.tl-bg--css::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
    background-repeat: no-repeat;
    background-image:
        radial-gradient(
            circle,
            rgba(127, 212, 232, 0.95) 0 3px,
            transparent 5px
        ),
        radial-gradient(circle, rgba(240, 119, 47, 0.9) 0 3px, transparent 5px),
        radial-gradient(
            circle,
            rgba(211, 181, 138, 0.9) 0 3px,
            transparent 5px
        ),
        radial-gradient(
            circle,
            rgba(41, 180, 214, 0.85) 0 2px,
            transparent 4px
        ),
        radial-gradient(circle, rgba(240, 119, 47, 0.8) 0 2px, transparent 4px),
        radial-gradient(
            circle,
            rgba(127, 212, 232, 0.8) 0 2px,
            transparent 4px
        ),
        radial-gradient(circle, rgba(211, 181, 138, 0.8) 0 2px, transparent 4px);
    background-position:
        10% 16%,
        88% 12%,
        76% 30%,
        18% 42%,
        92% 60%,
        8% 78%,
        84% 88%;
}

.greet-empty {
    grid-column: 1/-1;
    text-align: center;
    color: var(--muted);
    font-size: 18px;
    padding: 40px 0;
}

/* ── Footer (logo + MS partner + address + socials) ── */
.footer {
    background: var(--navy-2);
    color: #9aa6c4;
    padding: 34px 0 22px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}
.footer a {
    color: #cfd8ec;
    text-decoration: none;
}
.footer a:hover {
    color: #fff;
}

.footer .footer__top {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 34px;
    align-items: center;
    padding-bottom: 22px;
}
.footer__brand {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer__logo {
    height: 42px;
    width: auto;
}
.footer__ms {
    height: 36px;
    width: auto;
    opacity: 0.95;
}
.footer__h {
    font-family: var(--display);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #aeb9d4;
    margin-bottom: 8px;
}
.footer__addr a {
    line-height: 1.5;
}
.footer__icons {
    display: flex;
    gap: 10px;
}
.footer__icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #cfd8ec;
    transition: 0.2s;
}
.footer__icons a:hover {
    background: var(--cyan);
    color: #fff;
    transform: translateY(-2px);
}
.footer .footer__bottom {
    display: flex !important;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
    color: #8c98b8;
}

@media (max-width: 760px) {
    .footer {
        padding: 30px 0 20px;
    }
    .footer .footer__top {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
        padding-bottom: 22px;
    }
    .footer__brand {
        justify-content: center;
    }
    .footer__icons {
        justify-content: center;
    }
    .footer .footer__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}

.greet-cta {
    text-align: center;
    margin-top: 48px;
    padding: 36px 24px;
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 22px;
}
.greet-cta p {
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 18px;
    color: var(--ink);
}

/* company logo chip inside greeting cards */
/* allow the person row to wrap so a wide company logo drops to its own line */
.gcard__person {
    flex-wrap: wrap;
}
.gcard__person > div:not(.gcard__logo) {
    flex: 1 1 auto;
    min-width: 0;
}
.gcard__logo {
    height: 34px;
    width: auto;
    max-width: 100%;
    margin-left: auto;
    opacity: 0.9;
    object-fit: contain;
}

/* logo used as the round avatar (when no photo) */
.gcard__avatar--logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    overflow: hidden;
    border-radius: 50%;
    padding: 0;
}
.gcard__avatar--logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* YouTube embed inside video cards */
.gcard--video .gvideo {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    margin-bottom: 18px;
}
.gcard--video .gvideo iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Form pages (greeting / success) ── */
.form-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 180px 24px 70px;
    background:
        radial-gradient(
            700px 380px at 20% 10%,
            rgba(41, 180, 214, 0.22),
            transparent 60%
        ),
        radial-gradient(
            620px 420px at 88% 85%,
            rgba(240, 119, 47, 0.18),
            transparent 62%
        ),
        linear-gradient(160deg, #16223f 0%, #0f1830 60%, #0b1226 100%);
}
.form-hero__inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}
.form-hero h1 {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(30px, 5vw, 46px);
    line-height: 1.08;
    margin: 14px 0 14px;
    color: #fff;
}
.form-hero__sub {
    color: #c2cee4;
    font-size: 18px;
    margin: 0;
}
.form-hero .eyebrow {
    color: var(--cyan-lt);
}
.form-hero__arc {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    filter: blur(2px);
}
.form-hero__arc.arc1 {
    width: 340px;
    height: 340px;
    right: -120px;
    top: -140px;
    border: 2px solid rgba(41, 180, 214, 0.4);
}
.form-hero__arc.arc2 {
    width: 240px;
    height: 240px;
    left: -90px;
    bottom: -120px;
    border: 2px solid rgba(240, 119, 47, 0.4);
}

.formwrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 46px 24px 80px;
}
.formwrap h1 {
    font-family: var(--display);
    font-size: 34px;
    margin: 0 0 8px;
    color: var(--ink);
}
.formwrap .lead {
    color: var(--muted);
    margin: 0 0 28px;
}
.form-actions {
    margin-top: 26px;
    text-align: center;
}
.btn--block {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 8px;
}
.btn--dark {
    color: var(--ink);
    border-color: var(--line);
}
.btn--dark:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* ── Styled file pickers (dropzones) ── */
.filedrop {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 16px 18px;
    border: 2px dashed var(--line);
    border-radius: 14px;
    background: var(--mist);
    transition: 0.2s;
    position: relative;
}
.filedrop:hover {
    border-color: var(--cyan);
    background: rgba(41, 180, 214, 0.06);
}
.filedrop.has-file {
    border-style: solid;
    border-color: var(--cyan);
    background: rgba(41, 180, 214, 0.08);
}
.filedrop input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.filedrop__icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(41, 180, 214, 0.1);
    color: var(--cyan);
}
.filedrop.has-file .filedrop__icon {
    background: var(--cyan);
    color: #fff;
}
.filedrop__text {
    color: var(--ink);
    font-weight: 600;
    line-height: 1.35;
}
.filedrop__text small {
    display: block;
    color: var(--muted);
    font-weight: 500;
    font-size: 12px;
    margin-top: 2px;
}
.filedrop__name {
    margin-left: auto;
    color: var(--cyan);
    font-weight: 600;
    font-size: 14px;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    padding: 34px;
}
.field {
    margin-bottom: 20px;
}
.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--ink);
}
.field .hint {
    font-size: 13px;
    color: var(--muted);
    margin-top: 5px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
    color: var(--ink);
    background: var(--mist);
    transition: 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--cyan);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(41, 180, 214, 0.15);
}
.field textarea {
    min-height: 140px;
    resize: vertical;
}
.field input[type="file"] {
    font: inherit;
}
.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 620px) {
    .row2 {
        grid-template-columns: 1fr;
    }
}

.mode-switch {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.mode-switch button {
    flex: 1;
    min-width: 200px;
    padding: 14px 16px;
    border: 2px solid var(--line);
    background: #fff;
    border-radius: 14px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    color: var(--muted);
    transition: 0.2s;
}
.mode-switch button.active {
    border-color: var(--cyan);
    color: var(--ink);
    background: rgba(41, 180, 214, 0.06);
}

.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}
.alert--err {
    background: #fdecec;
    color: #a12626;
    border: 1px solid #f3c0c0;
}
.alert--ok {
    background: #e8f7ef;
    color: #1d7a44;
    border: 1px solid #b9e6cc;
}

.backlink {
    display: inline-block;
    margin-top: 22px;
    color: var(--cyan);
    font-weight: 600;
    text-decoration: none;
}
.req {
    color: var(--orange);
}
