/* =============================================================================
 * ΣΕΛΙΔΑ ΣΥΝΔΕΣΗΣ C2S CONTROL
 *
 * Αυτόνομη: δεν εξαρτάται από το κοινό style-login.css του assets.c2s.gr, που
 * επέβαλλε width:100% στα input μέσα σε .input-group και έσπρωχνε το εικονίδιο
 * σε δική του γραμμή. Εδώ το εικονίδιο ζει μέσα στο πεδίο με absolute θέση.
 *
 * Κλίμακα: 320px (μικρό κινητό) ως 2560px (2K), με clamp() στην τυπογραφία
 * και ρητά σημεία αλλαγής στη διάταξη.
 * ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

/* Το [hidden] είναι απλός κανόνας του browser και χάνει από κάθε display που
   ορίζουμε εμείς. Χωρίς αυτή τη γραμμή, η φόρμα του δεύτερου ελέγχου και τα
   άδεια πλαίσια σφάλματος εμφανίζονταν μαζί με τη φόρμα σύνδεσης. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body.c2s-auth {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: var(--font-login);
    color: var(--c2s-text);
    background: radial-gradient(1200px 800px at 15% 10%, #16202C 0%, #0C1118 55%, #080B10 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* Απαλό φως που αναπνέει πίσω από την κάρτα. */
body.c2s-auth::before {
    content: "";
    position: fixed;
    inset: -30vmax;
    background:
        radial-gradient(38vmax 38vmax at 22% 28%, rgba(15, 123, 148, .22), transparent 62%),
        radial-gradient(34vmax 34vmax at 78% 74%, rgba(255, 102, 0, .16), transparent 64%);
    animation: c2s-aurora 26s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes c2s-aurora {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(2.5vmax, -2vmax, 0) scale(1.06); }
    100% { transform: translate3d(-2vmax, 2.5vmax, 0) scale(1.02); }
}

.c2s-auth-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: clamp(16px, 3vw, 48px);
    display: flex;
    justify-content: center;
}

.c2s-auth-card {
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    background: var(--c2s-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(4, 8, 14, .55), 0 2px 0 rgba(255, 255, 255, .06) inset;
    animation: c2s-card-in .7s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes c2s-card-in {
    from { opacity: 0; transform: translateY(26px) scale(.985); }
    to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
 * Αριστερή όψη: ζωντανό δίκτυο
 * ------------------------------------------------------------------------ */
.c2s-auth-visual {
    position: relative;
    background: linear-gradient(150deg, #0B1017 0%, #131C27 55%, #1D2733 100%);
    color: var(--text-color-light);
    overflow: hidden;
    min-height: 620px;
    display: flex;
}

.c2s-auth-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.c2s-auth-veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(68% 52% at 16% 16%, rgba(15, 123, 148, .26), transparent 70%),
        radial-gradient(58% 48% at 90% 88%, rgba(255, 102, 0, .20), transparent 72%),
        /* Σκιά μόνο εκεί που κάθεται το κείμενο, ώστε το δίκτυο να μένει ορατό. */
        linear-gradient(105deg, rgba(8, 11, 16, .72) 0%, rgba(8, 11, 16, .46) 46%, rgba(8, 11, 16, .12) 100%);
    pointer-events: none;
}

/* Διακριτικό πλέγμα που δίνει βάθος πίσω από τους κόμβους. */
.c2s-auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(143, 212, 230, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(143, 212, 230, .05) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(120% 100% at 70% 40%, #000 20%, transparent 78%);
    -webkit-mask-image: radial-gradient(120% 100% at 70% 40%, #000 20%, transparent 78%);
    pointer-events: none;
    z-index: 1;
}

.c2s-auth-canvas { z-index: 1; }
.c2s-auth-veil { z-index: 1; }

.c2s-auth-visual-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(22px, 2.6vw, 34px);
    padding: clamp(32px, 4vw, 56px);
    width: 100%;
    pointer-events: none;
}

.c2s-auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    animation: c2s-rise .8s cubic-bezier(.22, 1, .36, 1) .08s both;
}

.c2s-auth-logo {
    width: clamp(52px, 4.4vw, 68px);
    height: auto;
    object-fit: contain;
    /* Απαλό φως γύρω από το σήμα, ώστε να μη χάνεται στο σκούρο φόντο. */
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45));
}

.c2s-auth-mark {
    font-size: clamp(1.9rem, 2.6vw, 2.6rem);
    font-weight: 800;
    letter-spacing: .1em;
    color: #fff;
    line-height: 1;
}

.c2s-auth-mark-sub {
    font-size: clamp(.68rem, .9vw, .84rem);
    font-weight: 700;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--c2s-lime);
}

.c2s-auth-headline {
    font-size: clamp(1.45rem, 2.3vw, 2.1rem);
    line-height: 1.28;
    font-weight: 700;
    margin: 0;
    color: #fff;
    max-width: 18ch;
    animation: c2s-rise .8s cubic-bezier(.22, 1, .36, 1) .16s both;
}

.c2s-auth-headline em {
    font-style: normal;
    color: var(--c2s-lime);
}

.c2s-auth-points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.4vw, 18px);
}

.c2s-auth-points li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-size: clamp(.9rem, 1.05vw, 1rem);
    line-height: 1.5;
    color: rgba(240, 246, 252, .84);
    animation: c2s-rise .8s cubic-bezier(.22, 1, .36, 1) both;
}

.c2s-auth-points li:nth-child(1) { animation-delay: .24s; }
.c2s-auth-points li:nth-child(2) { animation-delay: .32s; }
.c2s-auth-points li:nth-child(3) { animation-delay: .40s; }
.c2s-auth-points li:nth-child(4) { animation-delay: .48s; }

.c2s-auth-points strong { color: #fff; font-weight: 600; }

.c2s-auth-points i {
    font-size: 1.2rem;
    color: var(--c2s-lime);
    line-height: 1.32;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(255, 102, 0, .35));
}

/* --------------------------------------------------------------------------
 * Συμβουλές που εναλλάσσονται
 *
 * ΟΛΕΣ στοιβάζονται στο ΙΔΙΟ κελί του grid: το ύψος του κουτιού είναι το ύψος
 * της μακρύτερης συμβουλής και ΔΕΝ αλλάζει σε κάθε εναλλαγή. Αν η κάθε μία
 * είχε δικό της κελί, η αριστερή όψη θα «ανάσαινε» κάθε πέντε δευτερόλεπτα.
 * ------------------------------------------------------------------------ */
.c2s-auth-tips {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1vw, 12px);
    padding-top: clamp(10px, 1.4vw, 16px);
    border-top: 1px solid rgba(255, 255, 255, .10);
    animation: c2s-rise .8s cubic-bezier(.22, 1, .36, 1) .56s both;
}

.c2s-auth-tip-stack { display: grid; }

/* ΜΟΝΟ ΜΙΑ ΣΥΜΒΟΥΛΗ ΔΙΑΒΑΖΕΤΑΙ ΚΑΘΕ ΣΤΙΓΜΗ.
 *
 * Με σταυρωτό σβήσιμο (και οι δύο σε μερική διαφάνεια) τα δύο κείμενα
 * πατούσαν το ένα πάνω στο άλλο και για μισό δευτερόλεπτο δεν διαβαζόταν
 * κανένα. Η εξερχόμενη φεύγει ΑΚΑΡΙΑΙΑ, η εισερχόμενη μπαίνει με fade. */
.c2s-auth-tip {
    grid-area: 1 / 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: none;
}

.c2s-auth-tip.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .4s ease, transform .4s ease;
}

.c2s-auth-tip > i {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(178, 239, 20, .12);
    box-shadow: inset 0 0 0 1px rgba(178, 239, 20, .32);
    color: var(--c2s-lime);
    font-size: 1.05rem;
}

.c2s-auth-tip > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.c2s-auth-tip strong {
    color: #fff;
    font-size: clamp(.86rem, 1vw, .95rem);
    font-weight: 600;
    line-height: 1.3;
}

.c2s-auth-tip span {
    color: rgba(240, 246, 252, .62);
    font-size: clamp(.74rem, .86vw, .82rem);
    line-height: 1.45;
}

/* Η περιοχή αφής είναι 20px ψηλή, η γραμμή 3px: δείχνει λεπτή, πατιέται άνετα. */
.c2s-auth-tip-dots { display: flex; gap: 6px; margin-top: -4px; }

.c2s-auth-tip-dot {
    position: relative;
    width: 16px;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    cursor: pointer;
    transition: background .35s ease, width .35s ease;
}

.c2s-auth-tip-dot::after {
    content: "";
    position: absolute;
    inset: -9px -3px;
}

.c2s-auth-tip-dot:hover { background: rgba(255, 255, 255, .38); }

.c2s-auth-tip-dot.is-active { width: 26px; background: var(--c2s-lime); }

@media (prefers-reduced-motion: reduce) {
    .c2s-auth-tip { transition: none; }
    .c2s-auth-tip-dot { transition: none; }
}

@keyframes c2s-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
 * Δεξιά όψη: φόρμα
 * ------------------------------------------------------------------------ */
.c2s-auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c2s-white);
}

.c2s-auth-panel-inner {
    width: 100%;
    max-width: 440px;
    padding: clamp(28px, 3.4vw, 52px) clamp(22px, 3vw, 48px);
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2vw, 26px);
}

.c2s-auth-head h1 {
    font-size: clamp(1.7rem, 2.4vw, 2.15rem);
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--c2s-ink);
    letter-spacing: -.01em;
}

.c2s-auth-head p {
    margin: 0;
    color: var(--c2s-muted);
    font-size: clamp(.86rem, 1vw, .95rem);
}

.c2s-auth-brand--compact { display: none; margin-bottom: 14px; gap: 11px; }
.c2s-auth-brand--compact .c2s-auth-logo { width: 44px; filter: none; }
.c2s-auth-brand--compact .c2s-auth-mark-sub { color: var(--c2s-lime); }

.c2s-auth-form { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 18px); }

.c2s-auth-field { display: flex; flex-direction: column; gap: 7px; }

.c2s-auth-field label {
    font-size: .84rem;
    font-weight: 600;
    color: var(--c2s-text);
    letter-spacing: .01em;
}

/* Το εικονίδιο ζει ΜΕΣΑ στο πεδίο. Κανένα wrapper που μπορεί να σπάσει σε
   δεύτερη γραμμή, όπως γινόταν με το .input-group του Bootstrap. */
.c2s-auth-input { position: relative; display: block; }

.c2s-auth-input > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.15rem;
    color: var(--c2s-muted);
    pointer-events: none;
    transition: color .18s ease;
}

.c2s-auth-input input {
    width: 100%;
    height: 52px;
    padding: 0 48px 0 46px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--c2s-text);
    background: #F7F9FC;
    border: 1.5px solid var(--c2s-border);
    border-radius: 12px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.c2s-auth-input input::placeholder { color: #A6B0BF; }

.c2s-auth-input input:hover { border-color: #C3CEDC; }

.c2s-auth-input input:focus {
    background: #fff;
    border-color: var(--c2s-teal);
    box-shadow: 0 0 0 4px rgba(15, 123, 148, .14);
}

.c2s-auth-input input:focus ~ i,
.c2s-auth-input:focus-within > i { color: var(--c2s-teal); }

.c2s-auth-input--code input {
    letter-spacing: .5em;
    text-align: center;
    padding-right: 46px;
    font-size: 1.25rem;
    font-weight: 600;
}

.c2s-auth-eye {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--c2s-muted);
    border-radius: 9px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: color .16s ease, background .16s ease;
}

.c2s-auth-eye:hover { color: var(--c2s-teal); background: rgba(15, 123, 148, .08); }
.c2s-auth-eye:focus-visible { outline: 2px solid var(--c2s-teal); outline-offset: 2px; }

/* Το σφάλμα εμφανίζεται κάτω από τα πεδία, ποτέ ως παράθυρο που κλείνει. */
.c2s-auth-message {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 11px;
    background: var(--error-bg-color);
    border: 1px solid var(--error-border-color);
    color: var(--error-text-color);
    font-size: .88rem;
    line-height: 1.45;
    animation: c2s-shake .42s cubic-bezier(.36, .07, .19, .97);
}

.c2s-auth-message > i {
    font-size: 1.1rem;
    line-height: 1.32;
    flex-shrink: 0;
}

@keyframes c2s-shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

.c2s-auth-submit {
    position: relative;
    height: 52px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c2s-lime) 0%, #C7F53F 100%);
    /* Λευκό πάνω σε lime δίνει 1.3:1. Το ανθρακί δίνει 13:1. */
    color: var(--c2s-on-lime);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(122, 188, 11, .34);
    transition: transform .16s ease, box-shadow .2s ease, filter .2s ease;
}

/* Λάμψη που περνά στο πέρασμα του ποντικιού. */
.c2s-auth-submit::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .34), transparent);
    transition: left .55s ease;
}

.c2s-auth-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(122, 188, 11, .42);
}

.c2s-auth-submit:hover:not(:disabled)::after { left: 130%; }
.c2s-auth-submit:active:not(:disabled) { transform: translateY(0); filter: brightness(.96); }
.c2s-auth-submit:focus-visible { outline: 3px solid rgba(15, 123, 148, .45); outline-offset: 3px; }

.c2s-auth-submit:disabled {
    cursor: not-allowed;
    background: #D8DEE7;
    color: #8B97A7;
    box-shadow: none;
    transform: none;
}

.c2s-auth-submit-icon { font-size: 1.15rem; transition: transform .2s ease; }
.c2s-auth-submit:hover:not(:disabled) .c2s-auth-submit-icon { transform: translateX(3px); }
.c2s-auth-submit-spinner { font-size: 1.2rem; animation: c2s-spin 1s linear infinite; }

@keyframes c2s-spin { to { transform: rotate(360deg); } }

.c2s-auth-back {
    height: 46px;
    border: 1.5px solid var(--c2s-border);
    background: #fff;
    border-radius: 12px;
    color: var(--c2s-muted);
    font-family: inherit;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.c2s-auth-back:hover { color: var(--c2s-text); border-color: #C3CEDC; background: var(--c2s-bg); }

.c2s-auth-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 16px;
    border-radius: 14px;
    background: var(--c2s-teal-soft);
    border: 1px solid rgba(15, 123, 148, .18);
}

.c2s-auth-step i { font-size: 1.5rem; color: var(--c2s-teal); line-height: 1.2; }
.c2s-auth-step h2 { margin: 0 0 3px; font-size: 1.02rem; font-weight: 700; color: var(--c2s-ink); }
.c2s-auth-step p { margin: 0; font-size: .86rem; color: var(--c2s-muted); line-height: 1.5; }

.c2s-auth-hint {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 2px 0 0;
    font-size: .82rem;
    line-height: 1.5;
    color: var(--c2s-muted);
}

.c2s-auth-hint i { font-size: 1rem; line-height: 1.35; color: var(--c2s-teal); flex-shrink: 0; }

.c2s-auth-foot {
    margin-top: clamp(10px, 4vh, 44px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: clamp(10px, 1.4vw, 16px);
    border-top: 1px solid var(--c2s-border);
    font-size: .8rem;
    color: var(--c2s-muted);
}

.c2s-auth-foot span { display: inline-flex; align-items: center; gap: 6px; }
.c2s-auth-foot i { color: var(--status-up-color); }
.c2s-auth-foot a { color: var(--c2s-teal); text-decoration: none; font-weight: 600; }
.c2s-auth-foot a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
 * Μεγάλες οθόνες
 * ------------------------------------------------------------------------ */
@media (min-width: 1600px) {
    .c2s-auth-card { max-width: 1320px; border-radius: 28px; }
    .c2s-auth-visual { min-height: 700px; }
    .c2s-auth-panel-inner { max-width: 500px; }
}

/* Σε 2K η κάρτα μεγαλώνει και η τυπογραφία ακολουθεί, αλλιώς το περιεχόμενο
   φαίνεται χαμένο στη μέση μιας τεράστιας οθόνης. */
@media (min-width: 2000px) {
    .c2s-auth-card { max-width: 1720px; border-radius: 30px; }
    .c2s-auth-visual { min-height: 860px; }
    .c2s-auth-visual-inner { padding: 72px; gap: 40px; }
    .c2s-auth-panel-inner { max-width: 600px; padding: 64px 60px; gap: 30px; }

    .c2s-auth-logo { width: 84px; }
    .c2s-auth-mark { font-size: 3.1rem; }
    .c2s-auth-mark-sub { font-size: .95rem; }
    .c2s-auth-headline { font-size: 2.5rem; max-width: 17ch; }
    .c2s-auth-points li { font-size: 1.1rem; gap: 16px; }
    .c2s-auth-points i { font-size: 1.4rem; }
    .c2s-auth-tip strong { font-size: 1rem; }
    .c2s-auth-tip span { font-size: .88rem; }

    .c2s-auth-head h1 { font-size: 2.5rem; }
    .c2s-auth-head p { font-size: 1.05rem; }
    .c2s-auth-field label { font-size: .95rem; }
    .c2s-auth-input input { height: 60px; font-size: 1.1rem; padding-left: 52px; }
    .c2s-auth-input > i { font-size: 1.3rem; left: 17px; }
    .c2s-auth-submit { height: 60px; font-size: 1.1rem; }
    .c2s-auth-hint { font-size: .92rem; }
    .c2s-auth-foot { font-size: .9rem; }
}

@media (min-width: 2400px) {
    .c2s-auth-card { max-width: 1880px; }
    .c2s-auth-visual { min-height: 920px; }
    .c2s-auth-panel-inner { max-width: 640px; }
    .c2s-auth-headline { font-size: 2.75rem; }
}

/* --------------------------------------------------------------------------
 * Tablet: μία στήλη, η όψη γίνεται κεφαλίδα
 * ------------------------------------------------------------------------ */
@media (max-width: 1023px) {
    .c2s-auth-shell { align-items: flex-start; }

    .c2s-auth-card {
        grid-template-columns: 1fr;
        max-width: 620px;
    }

    .c2s-auth-visual {
        min-height: 0;
        border-radius: 0;
    }

    .c2s-auth-visual-inner {
        padding: clamp(26px, 5vw, 40px);
        gap: 20px;
    }

    .c2s-auth-headline { max-width: none; font-size: clamp(1.35rem, 3.6vw, 1.75rem); }
    .c2s-auth-points { gap: 11px; }
    .c2s-auth-points li { font-size: .92rem; }
    .c2s-auth-tips { gap: 10px; }
}

/* --------------------------------------------------------------------------
 * Κινητό: η όψη μένει ως λεπτή ζωντανή κεφαλίδα
 * ------------------------------------------------------------------------ */
@media (max-width: 767px) {
    body.c2s-auth { align-items: stretch; }

    .c2s-auth-shell { padding: 0; }

    .c2s-auth-card {
        border-radius: 0;
        min-height: 100vh;
        min-height: 100dvh;
        grid-template-rows: auto 1fr;
        box-shadow: none;
        animation: none;
    }

    .c2s-auth-visual { min-height: 190px; }

    .c2s-auth-visual-inner {
        padding: 26px 22px 24px;
        gap: 14px;
        justify-content: flex-end;
    }

    .c2s-auth-logo { width: 44px; }

    .c2s-auth-headline {
        font-size: 1.22rem;
        line-height: 1.32;
    }

    .c2s-auth-points,
    .c2s-auth-tips { display: none; }

    /* Στο κινητό η φόρμα ξεκινά αμέσως κάτω από την κεφαλίδα και το υποσέλιδο
       πέφτει στο τέλος. Το κάθετο κεντράρισμα άφηνε άδειο χώρο από πάνω. */
    .c2s-auth-panel { align-items: stretch; }

    .c2s-auth-panel-inner {
        padding: 26px 20px calc(22px + env(safe-area-inset-bottom));
        max-width: none;
        gap: 18px;
        justify-content: flex-start;
    }

    .c2s-auth-foot { margin-top: auto; padding-top: 18px; }

    .c2s-auth-head h1 { font-size: 1.55rem; }

    /* Στο κινητό τα πεδία θέλουν 16px, αλλιώς το iOS κάνει zoom στο focus. */
    .c2s-auth-input input { font-size: 16px; height: 50px; }
    .c2s-auth-submit { height: 50px; }
}

@media (max-width: 380px) {
    .c2s-auth-visual { min-height: 150px; }
    .c2s-auth-visual-inner { padding: 20px 16px 18px; }
    .c2s-auth-headline { font-size: 1.08rem; }
    .c2s-auth-panel-inner { padding: 22px 16px calc(20px + env(safe-area-inset-bottom)); }
    .c2s-auth-foot { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* Χαμηλό ύψος σε οριζόντιο κινητό. */
@media (max-height: 560px) and (min-width: 768px) {
    .c2s-auth-visual { min-height: 0; }
    .c2s-auth-tips { display: none; }
    .c2s-auth-points li:nth-child(n+3) { display: none; }
}

/* --------------------------------------------------------------------------
 * Σεβασμός προτιμήσεων και συσκευών αφής
 * ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    body.c2s-auth::before { animation: none; }
}

@media (hover: none) {
    .c2s-auth-submit:hover:not(:disabled) { transform: none; box-shadow: 0 10px 24px rgba(122, 188, 11, .34); }
}
