/* =========================================================
   Mobile Auth (login / forgot / registration) — shared styles
   Path: application/mvc/views_new/assets/css/auth.css
   ========================================================= */

/* Decorative background layers (mesh glow + trading-chart watermark +
   tiled currency/commodity ticker symbols with sparklines + grain) —
   same custom properties as login.css so the pages agree visually;
   redefined under [data-theme="dark"] so var() resolution alone handles
   the theme swap. */
:root {
    --auth-chart-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='300' viewBox='0 0 480 300'%3E%3Cpath d='M10 250 L90 210 L150 230 L210 160 L270 185 L330 110 L390 135 L470 50' stroke='rgba(12,31,84,0.12)' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cg stroke='rgba(12,31,84,0.10)' stroke-width='2'%3E%3Cline x1='90' y1='175' x2='90' y2='245'/%3E%3Cline x1='210' y1='120' x2='210' y2='195'/%3E%3Cline x1='330' y1='75' x2='330' y2='145'/%3E%3Cline x1='470' y1='15' x2='470' y2='85'/%3E%3C/g%3E%3Cg fill='rgba(37,99,235,0.12)'%3E%3Crect x='80' y='190' width='20' height='38'/%3E%3Crect x='200' y='135' width='20' height='38'/%3E%3Crect x='320' y='90' width='20' height='38'/%3E%3Crect x='460' y='30' width='20' height='38'/%3E%3C/g%3E%3Cg font-family='Arial, Helvetica, sans-serif' font-weight='700'%3E%3Ctext x='330' y='30' font-size='14' letter-spacing='1' fill='rgba(12,31,84,0.16)'%3EXAU/USD%3C/text%3E%3Ctext x='330' y='48' font-size='11' fill='rgba(16,163,127,0.24)'%3E+1.86%25%3C/text%3E%3C/g%3E%3C/svg%3E");
    --auth-tickers-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'%3E%3Cg font-family='Arial, Helvetica, sans-serif' font-weight='700'%3E%3Ctext x='30' y='60' font-size='13' letter-spacing='1' fill='rgba(12,31,84,0.16)'%3EEUR/USD%3C/text%3E%3Ctext x='30' y='78' font-size='10' fill='rgba(16,163,127,0.22)'%3E+0.42%25%3C/text%3E%3Ctext x='260' y='150' font-size='13' letter-spacing='1' fill='rgba(12,31,84,0.16)'%3EBTC/USD%3C/text%3E%3Ctext x='260' y='168' font-size='10' fill='rgba(16,163,127,0.22)'%3E+2.18%25%3C/text%3E%3Ctext x='60' y='330' font-size='13' letter-spacing='1' fill='rgba(12,31,84,0.16)'%3EXAU/USD%3C/text%3E%3Ctext x='60' y='348' font-size='10' fill='rgba(220,38,38,0.20)'%3E-0.31%25%3C/text%3E%3Ctext x='300' y='420' font-size='13' letter-spacing='1' fill='rgba(12,31,84,0.16)'%3EGBP/JPY%3C/text%3E%3Ctext x='300' y='438' font-size='10' fill='rgba(16,163,127,0.22)'%3E+0.87%25%3C/text%3E%3C/g%3E%3Cg stroke='rgba(12,31,84,0.13)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='140,55 155,50 165,58 178,45 190,52 205,38'/%3E%3Cpolyline points='370,145 385,138 395,148 408,130 420,140 435,120'/%3E%3Cpolyline points='170,325 185,332 195,318 208,328 220,310 235,320'/%3E%3Cpolyline points='410,415 425,408 435,418 448,402 460,412'/%3E%3C/g%3E%3C/svg%3E");
    --auth-grain-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] {
    --auth-chart-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='300' viewBox='0 0 480 300'%3E%3Cpath d='M10 250 L90 210 L150 230 L210 160 L270 185 L330 110 L390 135 L470 50' stroke='rgba(148,180,255,0.18)' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cg stroke='rgba(148,180,255,0.14)' stroke-width='2'%3E%3Cline x1='90' y1='175' x2='90' y2='245'/%3E%3Cline x1='210' y1='120' x2='210' y2='195'/%3E%3Cline x1='330' y1='75' x2='330' y2='145'/%3E%3Cline x1='470' y1='15' x2='470' y2='85'/%3E%3C/g%3E%3Cg fill='rgba(96,165,250,0.16)'%3E%3Crect x='80' y='190' width='20' height='38'/%3E%3Crect x='200' y='135' width='20' height='38'/%3E%3Crect x='320' y='90' width='20' height='38'/%3E%3Crect x='460' y='30' width='20' height='38'/%3E%3C/g%3E%3Cg font-family='Arial, Helvetica, sans-serif' font-weight='700'%3E%3Ctext x='330' y='30' font-size='14' letter-spacing='1' fill='rgba(178,199,255,0.24)'%3EXAU/USD%3C/text%3E%3Ctext x='330' y='48' font-size='11' fill='rgba(52,211,153,0.30)'%3E+1.86%25%3C/text%3E%3C/g%3E%3C/svg%3E");
    --auth-tickers-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480' viewBox='0 0 480 480'%3E%3Cg font-family='Arial, Helvetica, sans-serif' font-weight='700'%3E%3Ctext x='30' y='60' font-size='13' letter-spacing='1' fill='rgba(178,199,255,0.22)'%3EEUR/USD%3C/text%3E%3Ctext x='30' y='78' font-size='10' fill='rgba(52,211,153,0.28)'%3E+0.42%25%3C/text%3E%3Ctext x='260' y='150' font-size='13' letter-spacing='1' fill='rgba(178,199,255,0.22)'%3EBTC/USD%3C/text%3E%3Ctext x='260' y='168' font-size='10' fill='rgba(52,211,153,0.28)'%3E+2.18%25%3C/text%3E%3Ctext x='60' y='330' font-size='13' letter-spacing='1' fill='rgba(178,199,255,0.22)'%3EXAU/USD%3C/text%3E%3Ctext x='60' y='348' font-size='10' fill='rgba(248,113,113,0.26)'%3E-0.31%25%3C/text%3E%3Ctext x='300' y='420' font-size='13' letter-spacing='1' fill='rgba(178,199,255,0.22)'%3EGBP/JPY%3C/text%3E%3Ctext x='300' y='438' font-size='10' fill='rgba(52,211,153,0.28)'%3E+0.87%25%3C/text%3E%3C/g%3E%3Cg stroke='rgba(178,199,255,0.18)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='140,55 155,50 165,58 178,45 190,52 205,38'/%3E%3Cpolyline points='370,145 385,138 395,148 408,130 420,140 435,120'/%3E%3Cpolyline points='170,325 185,332 195,318 208,328 220,310 235,320'/%3E%3Cpolyline points='410,415 425,408 435,418 448,402 460,412'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont,
                 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1f2937;
    background: #f5f7fb;
}

body.mauth {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
    background: linear-gradient(180deg, #f8fafc 0%, #eef1f8 100%);
    display: flex;
    flex-direction: column;
}
/* Layered mesh-gradient glow, slowly drifting for a "living" premium feel. */
body.mauth::before {
    content: "";
    position: fixed;
    inset: -10%;
    z-index: -2;
    pointer-events: none;
    background:
      radial-gradient(38% 30% at 10% 0%, rgba(37, 99, 235, 0.34), transparent 68%),
      radial-gradient(34% 28% at 100% 14%, rgba(56, 189, 248, 0.26), transparent 68%),
      radial-gradient(36% 30% at 18% 100%, rgba(139, 92, 246, 0.24), transparent 68%),
      radial-gradient(30% 26% at 92% 92%, rgba(236, 72, 153, 0.14), transparent 68%);
    filter: blur(50px);
    animation: mauth-drift 26s ease-in-out infinite alternate;
    will-change: transform;
}
/* Crisp foreground motif: an ascending trading-chart watermark (bottom
   corner, with a symbol + %-change tag) + a tiled pattern of currency/
   commodity ticker symbols with mini sparklines + fine grain — all
   baked-in low alpha, no blur, so they read as a deliberate trading-
   platform illustration rather than noise. */
body.mauth::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-repeat: no-repeat, repeat, repeat;
    background-position: 100% 100%, 0% 0%, 0 0;
    background-size: 560px 350px, 340px 340px, 140px 140px;
    background-image: var(--auth-chart-svg), var(--auth-tickers-svg), var(--auth-grain-svg);
}
/* Scoped to the actual content wrapper only — NOT a `> *` wildcard.
   modal-select.js appends .msl-overlay/.msl-sheet (position:fixed
   bottom-sheet picker) directly to <body>, and toast alerts do the same;
   a wildcard here would win the specificity tie against their own
   `position:fixed` rule (body.mauth > * has a higher-specificity `body`
   element in it) and pin them in normal flow at the bottom of the page. */
body.mauth > .vshell {
    position: relative;
    z-index: 1;
}
@keyframes mauth-drift {
    0%   { transform: translate3d(0, 0, 0) scale(1); }
    50%  { transform: translate3d(-2%, 1.5%, 0) scale(1.03); }
    100% { transform: translate3d(1.5%, -1%, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    body.mauth::before { animation: none; }
}

/* Legacy class kept so login.php still works without changes
   (login.php already targets .mlogin in earlier revision). */
body.mlogin { /* alias */ }

/* -------- Top bar -------- */
.mauth__topbar,
.mlogin__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
}

.mauth__logo img,
.mlogin__logo img {
    height: 34px;
    width: auto;
    display: block;
    max-width: 60vw;
}

/* Back arrow */
.mauth__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    color: #374151;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.mauth__back:hover { background: #f3f4f6; }

/* Language selector */
.mauth__lang,
.mlogin__lang {
    position: relative;
}
.mauth__lang-btn,
.mlogin__lang-btn {
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    color: #374151;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.mauth__lang-btn:hover,
.mlogin__lang-btn:hover {
    background: #f0f1f5;
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(16, 24, 40, 0.08);
}
.mauth__lang-btn img,
.mlogin__lang-btn img { width: 16px; height: 11px; display: block; }
.mauth__lang-btn .caret,
.mlogin__lang-btn .caret {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #6b7280;
    margin-left: 2px;
    transition: transform 0.2s;
}
.mauth__lang.is-open .mauth__lang-btn .caret,
.mlogin__lang.is-open .mlogin__lang-btn .caret {
    transform: rotate(180deg);
}

.mauth__lang-menu,
.mlogin__lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.10);
    padding: 6px;
    min-width: 180px;
    max-height: 60vh;
    overflow-y: auto;
    display: none;
    z-index: 9500;
    /* Animation */
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.mauth__lang-menu.is-open,
.mlogin__lang-menu.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: langMenuIn 0.18s ease forwards;
}
@keyframes langMenuIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.mauth__lang-menu ul,
.mlogin__lang-menu ul { margin: 0; padding: 0; }
.mauth__lang-menu li,
.mlogin__lang-menu li {
    list-style: none;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
}
.mauth__lang-menu li:hover,
.mlogin__lang-menu li:hover { background: #f3f4f6; }
.mauth__lang-menu li.is-selected,
.mlogin__lang-menu li.is-selected { color: #0c1f54; font-weight: 600; }
.mauth__lang-menu li img,
.mlogin__lang-menu li img { width: 16px; height: 11px; }

/* -------- Card -------- */
.mauth__main,
.mlogin__main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px 24px;
}

.mauth__card,
.mlogin__card {
    width: 100%;
    max-width: 460px;
    background: #f8f9fb;
    border-radius: 18px;
    padding: 26px 22px 22px;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, 0.04),
        0 12px 32px rgba(16, 24, 40, 0.08);
    margin-top: 8px;
}

.mauth__title,
.mlogin__title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.01em;
}
.mauth__subtitle,
.mlogin__subtitle {
    margin: 0 0 22px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.45;
}

/* -------- Banners -------- */
.mauth__banner {
    display: none;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.45;
}
.mauth__banner--error,
.mlogin__error {
    display: none;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 14px;
}
.mauth__banner--success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.mauth__banner--info {
    background: #e6ecf7;
    color: #091844;
    border: 1px solid #bfdbfe;
}

/* -------- Inputs -------- */
.mauth__field,
.mlogin__field {
    position: relative;
    margin-bottom: 14px;
}

.mauth__field input,
.mauth__field select,
.mlogin__field input {
    width: 100%;
    height: 50px;
    padding: 18px 14px 8px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafbfc;
    font-size: 15px;
    color: #111827;
    outline: none;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}
.mauth__field select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%236b7280' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px;
    padding-right: 36px;
}
.mauth__field input:focus,
.mauth__field select:focus,
.mlogin__field input:focus {
    border-color: #0c1f54;
    background: #f8f9fb;
    box-shadow: 0 0 0 3px rgba(12, 31, 84, 0.15);
}
.mauth__field input.is-invalid,
.mauth__field select.is-invalid {
    border-color: #ef4444;
    background: #fff5f5;
}
.mauth__field input[readonly],
.mauth__field input[disabled],
.mauth__field select[disabled] {
    background: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}

.mauth__field label,
.mlogin__field label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.15s ease;
    background: transparent;
}
.mauth__field input:focus + label,
.mauth__field input:not(:placeholder-shown) + label,
.mlogin__field input:focus + label,
.mlogin__field input:not(:placeholder-shown) + label {
    top: 12px;
    transform: translateY(0);
    font-size: 11px;
    color: #0c1f54;
    font-weight: 600;
    letter-spacing: 0.02em;
}
/* Static label (above field, used for selects/phone where floating doesn't fit) */
.mauth__field--static label {
    position: static;
    transform: none;
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Field hint / inline error */
.mauth__hint {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
    line-height: 1.4;
}
.mauth__error-text {
    display: none;
    font-size: 12px;
    color: #b91c1c;
    margin-top: 6px;
    line-height: 1.4;
}
.mauth__error-text.is-visible { display: block; }

/* Phone composite (code + number) */
.mauth__phone {
    display: flex;
    gap: 8px;
}
.mauth__phone .mauth__phone-code {
    width: 32%;
    text-align: center;
    background: #f3f4f6;
    color: #111827;
    font-weight: 600;
    direction: ltr;
}
.mauth__phone .mauth__phone-number {
    flex: 1;
}

/* Password show/hide */
.mauth__toggle-pwd,
.mlogin__toggle-pwd {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 8px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* -------- Checkboxes / consent -------- */
.mauth__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 2px 14px;
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.mauth__check input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    accent-color: #0c1f54;
}
.mauth__check a {
    color: #0c1f54;
    font-weight: 600;
    text-decoration: none;
}
.mauth__check a:hover { text-decoration: underline; }

/* -------- Forgot link row -------- */
.mauth__forgot-row,
.mlogin__forgot-row {
    display: flex;
    justify-content: flex-end;
    margin: 6px 2px 16px;
}
.mauth__forgot-row a,
.mlogin__forgot-row a {
    color: #0c1f54;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}
.mauth__forgot-row a:hover,
.mlogin__forgot-row a:hover { text-decoration: underline; }

/* -------- reCAPTCHA -------- */
.mauth__recaptcha,
.mlogin__recaptcha {
    display: flex;
    justify-content: center;
    margin: 6px 0 14px;
}
.mauth__recaptcha:empty,
.mlogin__recaptcha:empty { margin: 0; }

@media (max-width: 340px) {
    .mauth__recaptcha .g-recaptcha,
    .mlogin__recaptcha .g-recaptcha {
        transform: scale(0.88);
        transform-origin: left center;
    }
}
.g-recaptcha-response {
    display: block !important;
    position: absolute;
    margin: -78px 0 0 0 !important;
    width: 302px !important;
    height: 76px !important;
    z-index: -999999;
    opacity: 0;
}

/* -------- Submit -------- */
.mauth__submit,
.mlogin__submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(180deg, #0c1f54 0%, #091844 100%);
    color: #ffffff;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.05s, box-shadow 0.15s, opacity 0.15s;
    box-shadow: 0 6px 16px rgba(12, 31, 84, 0.25);
}
.mauth__submit:hover,
.mlogin__submit:hover { box-shadow: 0 8px 22px rgba(12, 31, 84, 0.32); }
.mauth__submit:active,
.mlogin__submit:active { transform: translateY(1px); }
.mauth__submit:disabled,
.mlogin__submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* -------- Sign-up callout / footer link -------- */
.mauth__signup,
.mlogin__signup {
    text-align: center;
    margin-top: 18px;
    font-size: 14px;
    color: #4b5563;
}
.mauth__signup a,
.mlogin__signup a {
    color: #0c1f54;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}
.mauth__signup a:hover,
.mlogin__signup a:hover { text-decoration: underline; }

/* -------- Footer -------- */
.mauth__footer,
.mlogin__footer {
    text-align: center;
    padding: 10px 18px 22px;
    color: #9ca3af;
    font-size: 12px;
    line-height: 1.5;
}
.mauth__risk,
.mlogin__risk {
    max-width: 560px;
    margin: 0 auto 12px;
    color: #6b7280;
    font-size: 11px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    line-height: 1.5;
}
.mauth__desktop-link,
.mlogin__desktop-link {
    color: #0c1f54;
    text-decoration: none;
    font-weight: 600;
}
.mauth__desktop-link:hover,
.mlogin__desktop-link:hover { text-decoration: underline; }

/* -------- Top alert (success on registration) -------- */
.mauth__toast {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    max-width: 92vw;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.18);
    display: none;
}
.mauth__toast--success {
    background: #16a34a;
    color: #ffffff;
}
.mauth__toast--error {
    background: #dc2626;
    color: #ffffff;
}

/* -------- Wider phones / small tablets -------- */
@media (min-width: 520px) {
    .mauth__card,
    .mlogin__card { padding: 32px 28px 26px; }
    .mauth__title,
    .mlogin__title { font-size: 24px; }
}
