/* MS Egitim Auth */

.auth-shell {
    width: 100%;
    min-height: calc(100svh - 64px);
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.auth-shell,
.auth-shell * {
    box-sizing: border-box;
    letter-spacing: 0;
}

.auth-frame {
    width: 100%;
    min-height: calc(100svh - 64px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.72fr);
    align-items: stretch;
}

.auth-brand-panel {
    position: relative;
    min-height: calc(100svh - 64px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(30px, 4vw, 64px);
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(0, 18, 82, 0.97) 0%, rgba(0, 29, 132, 0.88) 46%, rgba(7, 119, 207, 0.48) 100%),
        url('/images/home/accounting-learning-hero-6.webp') center/cover;
}

.auth-brand-panel::before,
.auth-brand-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.auth-brand-panel::before {
    background:
        radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 15, 70, 0.42));
}

.auth-brand-panel::after {
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 78px 78px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), transparent 86%);
}

.auth-brand-panel > * {
    position: relative;
    z-index: 1;
}

.auth-brand-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.auth-brand-logo {
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.16);
    text-decoration: none;
}

.auth-brand-logo img {
    width: auto;
    height: 40px;
    max-width: 190px;
    object-fit: contain;
}

.auth-brand-badge {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.94);
    font-size: 0.8rem;
    font-weight: 850;
    white-space: nowrap;
    backdrop-filter: blur(12px);
}

.auth-brand-content {
    width: min(820px, 100%);
    margin: auto 0;
    padding: clamp(42px, 7vw, 92px) 0 30px;
}

.auth-kicker {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.auth-brand-content h1 {
    width: min(790px, 100%);
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(3.25rem, 5.5vw, 6.35rem);
    line-height: 0.94;
    font-weight: 950;
}

.auth-brand-content p {
    width: min(640px, 100%);
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: clamp(1rem, 1.12vw, 1.13rem);
    line-height: 1.78;
}

.auth-preview-card {
    width: min(640px, 100%);
    margin-top: 26px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

.auth-preview-head,
.auth-preview-course,
.auth-preview-grid {
    display: flex;
    align-items: center;
}

.auth-preview-head {
    justify-content: space-between;
    gap: 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    font-weight: 900;
}

.auth-preview-head span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.auth-preview-head strong {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: #ffffff;
    color: #001d84;
}

.auth-preview-course {
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
}

.auth-preview-course span {
    display: block;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.auth-preview-course strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.35;
    font-weight: 950;
}

.auth-preview-course > i {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    background: #001d84;
    color: #ffffff;
}

.auth-preview-meter {
    height: 8px;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}

.auth-preview-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffffff, #93c5fd);
}

.auth-preview-grid,
.auth-brand-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.auth-preview-grid {
    margin-top: 14px;
}

.auth-preview-grid span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 900;
}

.auth-brand-steps {
    width: min(780px, 100%);
}

.auth-brand-step {
    min-height: 118px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.auth-brand-step i {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 11px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.auth-brand-step strong {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 950;
}

.auth-brand-step span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.76rem;
    line-height: 1.45;
}

.auth-card {
    min-height: calc(100svh - 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 4vw, 64px);
    border: 0;
    border-left: 1px solid #e2e8f0;
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.88), rgba(255, 255, 255, 1)),
        #ffffff;
    box-shadow: none;
}

.auth-card.register-card {
    justify-content: flex-start;
    padding-top: clamp(28px, 3.2vw, 48px);
    padding-bottom: clamp(28px, 3.2vw, 48px);
}

.auth-header {
    margin-bottom: 24px;
}

.auth-header-logo {
    display: none;
    margin-bottom: 18px;
}

.auth-header-logo img {
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.auth-mode-switch {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 24px;
    padding: 5px;
    border: 1px solid #dbe5f4;
    border-radius: 12px;
    background: #f8fbff;
}

.auth-mode-switch a,
.auth-mode-switch span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 950;
    text-decoration: none;
}

.auth-mode-switch a:hover {
    background: #eef4ff;
    color: #001d84;
}

.auth-mode-switch .is-active {
    background: #001d84;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 29, 132, 0.2);
}

.auth-eyebrow {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 10px;
    border-radius: 8px;
    background: #eef4ff;
    color: #001d84;
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
}

.auth-header h1,
.auth-header h2 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.95rem, 2.6vw, 2.75rem);
    line-height: 1.08;
    font-weight: 950;
}

.auth-header p {
    margin: 11px 0 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.68;
}

.auth-notice,
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.5;
}

.auth-notice {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
}

.auth-profile-privacy {
    margin: 2px 0 0;
}

.auth-alert.success {
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.auth-alert.error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.auth-provider-button {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.auth-provider-button img {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    display: block;
}

.auth-provider-button:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

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

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

.auth-divider span {
    flex: 0 0 auto;
}

.auth-google-register {
    display: grid;
    gap: 12px;
}

.auth-google-consent {
    padding: 11px 12px;
}

.auth-google-consent .auth-check {
    font-size: 0.79rem;
}

.auth-provider-divider {
    margin: 18px 0;
}

.auth-form {
    display: grid;
    gap: 15px;
}

.auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.auth-field,
.auth-input-wrap {
    min-width: 0;
}

.auth-field.full {
    grid-column: 1 / -1;
}

.auth-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 0;
    padding-top: 8px;
    border-top: 1px solid #e7eef9;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 950;
}

.auth-section-title:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.auth-section-title i,
.auth-label i {
    color: #001d84;
}

.auth-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 950;
}

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

.auth-input-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 8px;
    background: #eef4ff;
    color: #001d84;
    font-size: 0.78rem;
    pointer-events: none;
}

.auth-control {
    width: 100%;
    min-height: 54px;
    border: 1px solid #d3deed;
    border-radius: 10px;
    background: #fbfdff;
    color: #0f172a;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 750;
    outline: none;
    padding: 0 14px 0 50px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

select.auth-control {
    appearance: none;
    padding-right: 42px;
}

.auth-select-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 0.75rem;
}

.auth-control:focus {
    border-color: #001d84;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 29, 132, 0.12);
}

.auth-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.auth-control::placeholder {
    color: #94a3b8;
    font-weight: 650;
}

.auth-input-wrap.has-toggle .auth-control,
.password-input .form-control {
    padding-right: 56px;
}

.password-toggle {
    position: absolute;
    right: 9px;
    top: 50%;
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.password-toggle:hover {
    background: #e6eefb;
    color: #001d84;
}

.invalid-feedback {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 7px;
    color: #dc2626;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.45;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 2px;
}

.auth-check {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.45;
    cursor: pointer;
}

.auth-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-checkmark {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-grid;
    place-items: center;
    margin-top: 1px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
}

.auth-checkmark::after {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-size: 0.66rem;
    font-weight: 900;
    color: #ffffff;
    opacity: 0;
}

.auth-check input:checked + .auth-checkmark {
    border-color: #001d84;
    background: #001d84;
}

.auth-check input:checked + .auth-checkmark::after {
    opacity: 1;
}

.auth-link {
    border: 0;
    background: transparent;
    color: #001d84;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
}

.auth-link:hover {
    color: #0f5fb8;
    text-decoration: underline;
}

.agreement-card {
    padding: 13px 14px;
    border: 1px solid #dbe5f4;
    border-radius: 12px;
    background: #f8fbff;
}

.agreement-card.is-invalid {
    border-color: #ef4444;
    background: #fff7f7;
}

.agreement-text {
    min-width: 0;
}

.auth-submit,
.auth-secondary,
.btn-primary-full,
.btn-secondary-full {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 10px;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.auth-submit,
.btn-primary-full {
    width: 100%;
    border: 0;
    background: #001d84;
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(0, 29, 132, 0.2);
}

.auth-submit:hover,
.btn-primary-full:hover {
    transform: translateY(-1px);
    background: #0a38af;
    color: #ffffff;
    box-shadow: 0 22px 38px rgba(0, 29, 132, 0.25);
}

.auth-secondary,
.btn-secondary-full {
    width: 100%;
    border: 1px solid #d3deed;
    background: #ffffff;
    color: #001d84;
}

.auth-secondary:hover,
.btn-secondary-full:hover {
    border-color: #001d84;
    background: #eef4ff;
    color: #001d84;
}

.auth-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e7eef9;
    text-align: center;
}

.auth-footer p {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 800;
}

.password-strength {
    height: 4px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.password-strength::before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.password-strength.weak::before {
    width: 33%;
    background: #ef4444;
}

.password-strength.medium::before {
    width: 66%;
    background: #f59e0b;
}

.password-strength.strong::before {
    width: 100%;
    background: #10b981;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(15, 23, 42, 0.64);
    backdrop-filter: blur(8px);
}

.auth-modal.is-open {
    display: flex;
}

.auth-modal-content {
    width: min(780px, 100%);
    max-height: min(82svh, 760px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.26);
}

.auth-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid #e7eef9;
}

.auth-modal-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1.16rem;
    font-weight: 950;
}

.auth-modal-close {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 38px;
    border: 1px solid #dbe5f4;
    border-radius: 10px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
}

.auth-modal-close:hover {
    background: #eef4ff;
    color: #001d84;
}

.auth-modal-body {
    overflow: auto;
    padding: 22px;
    color: #475569;
    line-height: 1.68;
}

.auth-modal-body h4 {
    margin: 18px 0 8px;
    color: #0f172a;
    font-size: 0.96rem;
    font-weight: 950;
}

.auth-modal-body h4:first-child {
    margin-top: 0;
}

.auth-modal-body p,
.auth-modal-body ul {
    margin: 0 0 13px;
}

.auth-modal-body ul {
    padding-left: 20px;
}

.auth-contact-info {
    padding: 13px 14px;
    border: 1px solid #bfdbfe;
    border-radius: 10px;
    background: #eff6ff;
    color: #1e3a8a;
}

/* Eski auth ekranlari icin sinirli uyumluluk stilleri */
.auth-container {
    width: 100%;
    min-height: calc(100svh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 4vw, 56px) 18px;
    background:
        linear-gradient(135deg, rgba(0, 29, 132, 0.08), rgba(248, 251, 255, 0.96)),
        #f8fbff;
}

.auth-container .auth-card {
    width: min(520px, 100%);
    min-height: auto;
    display: block;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.11);
}

.auth-container .auth-header {
    margin-bottom: 24px;
    text-align: center;
}

.auth-container .auth-logo,
.auth-container .auth-header .auth-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.auth-container .auth-logo .logo {
    width: auto;
    height: 48px;
    max-width: 190px;
    object-fit: contain;
}

.auth-container .form-group {
    margin-bottom: 16px;
}

.auth-container .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 950;
}

.auth-container .form-control {
    width: 100%;
    min-height: 52px;
    border: 1px solid #d3deed;
    border-radius: 10px;
    background: #fbfdff;
    color: #0f172a;
    font: inherit;
    font-size: 0.94rem;
    font-weight: 750;
    outline: none;
    padding: 0 14px;
}

.auth-container .form-control:focus {
    border-color: #001d84;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 29, 132, 0.12);
}

.auth-container .password-input {
    position: relative;
}

.auth-container .form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 0 16px;
}

.auth-container .remember-me {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 0.86rem;
    font-weight: 800;
}

.auth-container .checkmark {
    display: none;
}

.auth-divider {
    position: relative;
    margin: 22px 0;
    text-align: center;
}

.auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e7eef9;
}

.auth-divider span {
    position: relative;
    z-index: 1;
    padding: 0 12px;
    background: #ffffff;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 850;
}

.auth-container .alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.5;
}

.auth-container .alert-success {
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

@media (max-width: 1180px) {
    .auth-frame {
        grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.76fr);
    }

    .auth-brand-content h1 {
        font-size: clamp(2.65rem, 5.3vw, 4.8rem);
    }
}

@media (max-width: 980px) {
    .auth-shell {
        min-height: calc(100svh - 64px);
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 22px 16px;
        background:
            linear-gradient(135deg, rgba(0, 29, 132, 0.08), rgba(248, 251, 255, 0.96)),
            #f8fbff;
    }

    .auth-frame {
        width: min(520px, 100%);
        min-height: auto;
        display: block;
    }

    .auth-brand-panel {
        display: none;
    }

    .auth-card {
        width: 100%;
        min-height: auto;
        display: block;
        padding: 24px 18px;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        background: #ffffff;
        box-shadow: 0 24px 58px rgba(15, 23, 42, 0.11);
    }

    .auth-card.register-card {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .auth-header-logo {
        display: none;
    }
}

@media (max-width: 680px) {
    .auth-brand-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-brand-badge {
        width: 100%;
        justify-content: center;
    }

    .auth-preview-card {
        display: none;
    }

    .auth-form-grid,
    .auth-preview-grid {
        grid-template-columns: 1fr;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-mode-switch a,
    .auth-mode-switch span {
        min-height: 38px;
        font-size: 0.82rem;
    }

    .auth-header h1,
    .auth-header h2 {
        font-size: 1.86rem;
    }

    .auth-control,
    .auth-container .form-control {
        min-height: 50px;
    }
}

@media (max-width: 420px) {
    .auth-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .auth-shell {
        padding: 16px 12px;
    }

    .auth-card {
        padding: 22px 14px;
        border-radius: 14px;
    }
}
