/* Public auth pages — login & apply (#14213a / #3778b1) */

body.auth-page {
    margin: 0;
    min-height: 100vh;
    background: #eef3f8;
    color: #14213a;
    font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body.auth-page #global-loader,
body.auth-page .customizer-links {
    display: none !important;
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(380px, 46%) 1fr;
}

.auth-aside {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 48px 56px;
    background: linear-gradient(160deg, #14213a 0%, #1e3a5f 45%, #3778b1 100%);
    color: #fff;
    overflow: hidden;
}

.auth-aside::before,
.auth-aside::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.auth-aside::before {
    width: 320px;
    height: 320px;
    top: -120px;
    right: -80px;
    background: rgba(255, 255, 255, 0.06);
}

.auth-aside::after {
    width: 240px;
    height: 240px;
    bottom: -60px;
    left: -60px;
    background: rgba(255, 255, 255, 0.04);
}

.auth-aside-logo {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.auth-aside-logo img {
    max-height: 52px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.auth-aside-logo--boxed {
    background: rgba(255, 255, 255, 0.96);
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.auth-aside-logo--boxed img {
    max-height: 44px;
}

/* brand-theme h1/a overrides — aside must stay light on dark panel */
body.theme-brand.auth-page .auth-aside h1 {
    color: #ffffff !important;
}

body.theme-brand.auth-page .auth-aside h3,
body.theme-brand.auth-page .auth-aside strong {
    color: #ffffff !important;
}

body.theme-brand.auth-page .auth-aside p {
    color: rgba(255, 255, 255, 0.88) !important;
}

body.theme-brand.auth-page .auth-aside a.auth-aside-back {
    color: #ffffff !important;
}

body.theme-brand.auth-page .auth-aside a.auth-aside-link-card,
body.theme-brand.auth-page .auth-aside a.auth-aside-link-card:hover {
    color: #ffffff !important;
    text-decoration: none;
}

.auth-aside-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 0 32px;
}

.auth-aside-content h1 {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 18px;
    letter-spacing: -0.03em;
    color: #fff;
    max-width: 480px;
}

.auth-aside-content p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    max-width: 460px;
}

.auth-aside-features {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.auth-aside-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.92);
}

.auth-aside-feature strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.auth-aside-feature span {
    display: block;
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.auth-aside-feature i,
.auth-aside-feature .auth-aside-step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.95rem;
    color: #fff;
    line-height: 1;
    padding: 0;
    box-sizing: border-box;
}

.auth-aside-feature i {
    font-size: 0.95rem;
}

.auth-aside-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.auth-aside-highlight {
    padding: 16px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(4px);
}

.auth-aside-highlight i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.auth-aside-highlight h3 {
    margin: 0 0 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.auth-aside-highlight p {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.75) !important;
    max-width: none;
}

.auth-aside-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.auth-aside-link-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.auth-aside-link-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff !important;
}

.auth-aside-link-card i:last-child {
    color: rgba(255, 255, 255, 0.85);
}

.auth-aside-steps {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.auth-aside-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-aside-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    box-sizing: border-box;
}

.auth-aside-step strong {
    display: block;
    color: #fff;
    font-size: 0.92rem;
    margin-bottom: 4px;
}

.auth-aside-step span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    line-height: 1.45;
}

.auth-aside-footer {
    position: relative;
    z-index: 1;
}

.auth-aside-footer a.auth-aside-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.auth-aside-footer a.auth-aside-back:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.auth-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 24px;
}

.auth-main-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.auth-main-top .language-switcher {
    background: #fff;
    border: 1px solid #e6ecf3;
    box-shadow: 0 2px 8px rgba(20, 33, 58, 0.04);
}

body.theme-brand.auth-page a.auth-btn--primary,
body.theme-brand.auth-page a.auth-btn--primary:hover,
body.theme-brand.auth-page a.auth-btn--secondary,
body.theme-brand.auth-page a.auth-btn--secondary:hover,
body.theme-brand.auth-page a.auth-btn--ghost:hover {
    text-decoration: none;
}

.auth-card-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0 32px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border: 1px solid #e6ecf3;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 16px 48px rgba(20, 33, 58, 0.08);
    overflow: hidden;
}

.auth-page--apply .auth-card {
    max-width: 640px;
}

.auth-card-head {
    position: relative;
    margin: -32px -32px 28px;
    padding: 28px 32px 24px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4fa 100%);
    border-bottom: 1px solid #e6ecf3;
    overflow: hidden;
}

.auth-card-head::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3778b1 0%, #2d6699 50%, #14213a 100%);
}

.auth-card-head-badge {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #3778b1 0%, #2d6699 100%);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(55, 120, 177, 0.28);
    margin-bottom: 14px;
}

.auth-card-eyebrow {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(55, 120, 177, 0.1);
    color: #3778b1;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-card-head h2 {
    margin: 0 0 8px;
    font-size: 1.65rem;
    font-weight: 700;
    color: #14213a;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.auth-card-head p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 420px;
}

.auth-field {
    margin-bottom: 18px;
}

.auth-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap > i:first-child {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
}

.auth-input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 44px 0 42px;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #14213a;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.auth-input-wrap input:focus {
    outline: none;
    border-color: #3778b1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(55, 120, 177, 0.12);
}

.auth-input-wrap input.is-invalid {
    border-color: #dc3545;
}

.auth-input-wrap .invalid-feedback {
    display: block;
    margin-top: 6px;
    font-size: 0.82rem;
}

.auth-pass-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

.auth-pass-toggle:hover {
    color: #3778b1;
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.auth-row .auth-field {
    margin-bottom: 0;
}

.auth-row-wrap {
    margin-bottom: 18px;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #475569;
    user-select: none;
}

.auth-check input {
    width: 16px;
    height: 16px;
    accent-color: #3778b1;
}

.auth-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: #3778b1;
    text-decoration: none;
}

.auth-link:hover {
    color: #2d6699;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-btn--primary {
    background: linear-gradient(135deg, #3778b1 0%, #2d6699 100%);
    color: #fff !important;
    border-color: #3778b1;
    box-shadow: 0 4px 14px rgba(55, 120, 177, 0.28);
}

.auth-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(55, 120, 177, 0.34);
    color: #fff !important;
}

.auth-btn--secondary {
    background: #f3f7fb;
    color: #14213a !important;
    border-color: #e2e8f0;
}

.auth-btn--secondary:hover {
    background: #e8f1f8;
    color: #14213a !important;
}

.auth-btn--ghost {
    background: transparent;
    color: #3778b1 !important;
    border-color: #dbe3ec;
}

.auth-btn--ghost:hover {
    background: #f3f7fb;
    color: #2d6699 !important;
}

.auth-actions {
    display: grid;
    gap: 10px;
}

.auth-actions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.auth-actions-grid--split {
    grid-template-columns: 1fr 1fr;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: #94a3b8;
    font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e6ecf3;
}

.auth-footnote {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

.auth-footnote a {
    color: #3778b1;
    font-weight: 600;
    text-decoration: none;
}

.auth-footnote a:hover {
    color: #2d6699;
}

.auth-contracts {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.auth-contracts label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.86rem;
    color: #475569;
    cursor: pointer;
    margin: 0;
}

.auth-contracts input {
    margin-top: 3px;
    accent-color: #3778b1;
}

.auth-contracts a {
    color: #3778b1;
    font-weight: 600;
    text-decoration: none;
}

/* Training request modal */
#egitimTalepModal .modal-content {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(20, 33, 58, 0.18);
}

#egitimTalepModal .modal-header {
    border-bottom: 1px solid #e6ecf3;
    padding: 18px 22px;
}

#egitimTalepModal .modal-body {
    padding: 22px;
}

#egitimTalepModal .modal-footer {
    border-top: 1px solid #e6ecf3;
    padding: 16px 22px;
}

#egitimTalepModal #pdfDropZone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    min-height: 150px;
    padding: 1.25rem;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

#egitimTalepModal #pdfDropZone:hover,
#egitimTalepModal #pdfDropZone.dragover {
    border-color: #3778b1;
    background: #e8f1f8;
}

#egitimTalepModal .select2-container {
    width: 100% !important;
}

#egitimTalepModal .select2-container--default .select2-selection--single {
    height: 44px;
    border: 1px solid #dbe3ec;
    border-radius: 12px;
    background: #f8fafc;
}

#egitimTalepModal .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px;
    padding-left: 12px;
}

#egitimTalepModal .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
}

.select2-container--open {
    z-index: 1060;
}

/* Full-width gradient overlay layout (login + apply) */
body.auth-page.auth-page--overlay,
html:has(body.auth-page--overlay) {
    min-height: 100%;
    background: linear-gradient(160deg, #14213a 0%, #1e3a5f 42%, #3778b1 100%) !important;
    background-attachment: fixed;
}

body.auth-page.auth-page--overlay::before,
body.auth-page.auth-page--overlay::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

body.auth-page.auth-page--overlay::before {
    width: min(520px, 60vw);
    height: min(520px, 60vw);
    top: -180px;
    right: -120px;
    background: rgba(255, 255, 255, 0.06);
}

body.auth-page.auth-page--overlay::after {
    width: min(420px, 50vw);
    height: min(420px, 50vw);
    bottom: -140px;
    left: -100px;
    background: rgba(255, 255, 255, 0.04);
}

body.auth-page.auth-page--overlay .auth-shell {
    position: relative;
    z-index: 1;
    grid-template-columns: 1.15fr minmax(360px, 480px);
    max-width: 1320px;
    margin: 0 auto;
    background: transparent;
    min-height: 100vh;
}

body.auth-page.auth-page--apply.auth-page--overlay .auth-shell {
    grid-template-columns: 1fr minmax(400px, 660px);
    max-width: 1400px;
}

.auth-page--overlay .auth-aside {
    background: transparent;
    padding: 48px 32px 48px 56px;
}

.auth-page--overlay .auth-aside::before,
.auth-page--overlay .auth-aside::after {
    display: none;
}

.auth-page--overlay .auth-main {
    position: relative;
    background: transparent;
    padding: 88px 56px 48px 16px;
}

.auth-page--overlay .auth-main-top {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 10;
    margin: 0;
}

.auth-page--overlay .auth-main-top .language-switcher {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
}

.auth-page--overlay .auth-card-wrap {
    width: 100%;
    padding: 0;
    align-items: stretch;
}

.auth-page--overlay .auth-card {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: none;
    border-radius: 22px;
    padding: 0 0 32px;
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    max-width: 100%;
}

.auth-page--overlay .auth-card-head {
    margin: 0 0 28px;
    border-radius: 22px 22px 0 0;
}

.auth-page--overlay .auth-card-head + form,
.auth-page--overlay .auth-card > form {
    padding: 0 32px;
}

/* Apply — compact layout, fit viewport */
body.auth-page.auth-page--apply.auth-page--overlay {
    overflow: hidden;
}

body.auth-page.auth-page--apply.auth-page--overlay .auth-shell {
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

body.auth-page.auth-page--apply.auth-page--overlay .auth-aside {
    padding: 32px 28px 24px 44px;
    overflow-y: auto;
}

body.auth-page.auth-page--apply .auth-aside-content {
    padding: 24px 0 16px;
    justify-content: center;
}

body.auth-page.auth-page--apply .auth-aside-content h1 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 10px;
}

body.auth-page.auth-page--apply .auth-aside-content > p {
    font-size: 0.92rem;
    line-height: 1.5;
}

body.auth-page.auth-page--apply .auth-aside-highlights {
    margin-top: 20px;
}

body.auth-page.auth-page--apply .auth-aside-features {
    margin-top: 16px;
}

body.auth-page.auth-page--apply.auth-page--overlay .auth-main {
    padding: 64px 32px 24px 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.auth-page.auth-page--apply .auth-card-wrap {
    flex: 1;
    min-height: 0;
    max-height: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

body.auth-page.auth-page--apply.auth-page--overlay .auth-card {
    display: block;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 88px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 0 20px;
    scrollbar-width: thin;
}

body.auth-page.auth-page--apply.auth-page--overlay .auth-card > form {
    overflow: visible;
    flex: none;
    min-height: 0;
    padding: 0 24px 0 !important;
}

body.auth-page.auth-page--apply .auth-card-head {
    padding: 16px 24px 14px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

body.auth-page.auth-page--apply .auth-card-head-badge {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 8px;
    border-radius: 11px;
}

body.auth-page.auth-page--apply .auth-card-head h2 {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

body.auth-page.auth-page--apply .auth-card-head p {
    font-size: 0.84rem;
    line-height: 1.45;
}

body.auth-page.auth-page--apply .auth-field {
    margin-bottom: 10px;
}

body.auth-page.auth-page--apply .auth-row-wrap {
    margin-bottom: 10px;
}

body.auth-page.auth-page--apply .auth-field label {
    margin-bottom: 4px;
    font-size: 0.78rem;
}

body.auth-page.auth-page--apply .auth-input-wrap input {
    height: 40px;
    font-size: 0.88rem;
    border-radius: 10px;
}

body.auth-page.auth-page--apply .auth-input-wrap > i:first-child {
    font-size: 0.82rem;
}

body.auth-page.auth-page--apply .auth-btn {
    min-height: 42px;
    font-size: 0.9rem;
}

body.auth-page.auth-page--apply .auth-contracts {
    gap: 6px;
    margin-bottom: 10px;
}

body.auth-page.auth-page--apply .auth-contracts label {
    font-size: 0.8rem;
}

body.auth-page.auth-page--apply .auth-footnote {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.82rem;
}

body.auth-page.auth-page--apply .auth-actions {
    gap: 8px;
}

@media (max-width: 960px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-aside {
        padding: 28px 24px 32px;
    }

    .auth-aside-content {
        padding: 24px 0 8px;
    }

    .auth-aside-highlights {
        grid-template-columns: 1fr;
    }

    .auth-aside-features {
        display: grid;
    }

    .auth-main {
        padding: 16px;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .auth-page--overlay .auth-main {
        padding: 72px 16px 32px;
    }

    .auth-page--overlay .auth-main-top {
        position: fixed;
        top: 12px;
        right: 12px;
    }

    .auth-page--overlay .auth-aside {
        padding: 28px 24px 20px;
    }

    .auth-page--overlay .auth-card > form,
    .auth-page--overlay .auth-card-head + form {
        padding: 0 20px;
    }

    .auth-page--overlay .auth-card {
        padding: 0 0 24px;
        border-radius: 16px;
    }

    .auth-page--overlay .auth-card-head {
        margin: 0 0 24px;
        border-radius: 16px 16px 0 0;
    }

    body.auth-page.auth-page--apply.auth-page--overlay {
        overflow: auto;
    }

    body.auth-page.auth-page--apply.auth-page--overlay .auth-shell {
        max-height: none;
        overflow: visible;
    }

    body.auth-page.auth-page--apply.auth-page--overlay .auth-card {
        max-height: none;
        overflow: visible;
    }

    .auth-card-head {
        margin: -24px -20px 24px;
        padding: 22px 20px 20px;
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 560px) {
    .auth-row,
    .auth-actions-grid--split {
        grid-template-columns: 1fr;
    }

    .auth-row-wrap {
        display: grid;
        gap: 18px;
    }
}
