/* Premium desktop auth — split-panel SaaS login */ .dauth { min-height: 100vh; /* Force exact viewport sizing to avoid page scrolling */ height: 100vh; width: 100vw; overflow: hidden; overscroll-behavior: none; box-sizing: border-box; background: #f6f7f9; display: flex; align-items: stretch; color: #111827; } .dauth__layout { display: grid; /* فرم | برند — در RTL: برند چپ، فرم راست؛ نسبت نزدیک به توازن */ grid-template-columns: minmax(480px, 1fr) minmax(420px, 1.05fr); width: 100%; min-height: 100vh; } /* Brand panel — uses config primary color (same as buttons) */ .dauth-brand { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 56px 64px; background: @App-primary-color; overflow: hidden; &--boursecu { .dauth-brand__logo { max-width: 280px; max-height: 280px; width: min(100%, 280px); object-fit: contain; } } &--soroushgold { .dauth-brand__logo { max-width: 220px; max-height: 220px; width: min(100%, 220px); object-fit: contain; } } &__pattern { position: absolute; inset: 0; opacity: 0.04; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 28px 28px; pointer-events: none; } &__content { position: relative; z-index: 1; max-width: 420px; } &__logo { width: auto; max-width: 220px; height: auto; max-height: 72px; object-fit: contain; margin-bottom: 32px; &--round { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; } } &__title { font-size: 32px; font-weight: 600; letter-spacing: -0.03em; color: #ffffff; line-height: 1.25; margin: 0 0 12px; } &__tagline { font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, 0.72); line-height: 1.7; margin: 0 0 40px; } &__features { display: flex; flex-direction: column; gap: 16px; list-style: none; margin: 0; padding: 0; } &__feature { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, 0.85); } &__feature-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: #ffffff; flex-shrink: 0; } &__footer { position: absolute; bottom: 32px; right: 64px; left: 64px; font-size: 11px; color: rgba(255, 255, 255, 0.4); } } /* Form panel */ .dauth-form-panel { display: flex; align-items: center; justify-content: center; padding: 48px 48px; } .dauth-card { width: 100%; max-width: 520px; background: #ffffff; border-radius: 16px; padding: 36px 40px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06); &__header { margin-bottom: 28px; } &__eyebrow { font-size: 12px; font-weight: 500; color: #9ca3af; margin: 0 0 6px; } &__title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: #111827; margin: 0; line-height: 1.3; } &__subtitle { font-size: 13px; color: #6b7280; margin: 8px 0 0; line-height: 1.5; } } /* Method toggle */ .dauth-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #f3f4f6; border-radius: 10px; margin-bottom: 24px; &__btn { padding: 9px 12px; border: none; border-radius: 8px; background: transparent; font-size: 13px; font-weight: 600; font-family: inherit; color: #6b7280; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease; &--active { background: #ffffff; color: #111827; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08); } &:hover:not(&--active) { color: #374151; } } } /* Form fields */ .dauth-form { display: flex; flex-direction: column; width: 100%; &.ant-form-vertical :deep(.ant-form-item) { margin-bottom: 18px; } &.ant-form-vertical :deep(.ant-form-item-label) { padding-bottom: 6px; } &.ant-form-vertical :deep(.ant-form-item-label > label) { font-size: 12px; font-weight: 600; color: #374151; height: auto; } :deep(.ant-form-item) { margin-bottom: 18px; } :deep(.ant-form-item-label > label) { font-size: 12px; font-weight: 600; color: #374151; } :deep(.ant-input), :deep(.ant-input-affix-wrapper) { border-radius: 10px; border-color: #e5e7eb; padding: 10px 14px; &:hover, &:focus, &-focused { border-color: @App-primary-color; } } :deep(.ant-input-lg) { padding: 11px 14px; } .dauth-toggle { flex-shrink: 0; } .dauth-actions, .dauth-switch { width: 100%; } } /* OTP */ .dauth-otp { margin-top: 8px; :deep(.otp-input) { width: 52px !important; height: 52px !important; border-radius: 10px !important; border: 1px solid #e5e7eb !important; font-size: 20px !important; font-weight: 600 !important; } } .dauth-phone-edit { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 20px; font-size: 13px; &__number { color: #9ca3af; direction: ltr; } &__btn { display: inline-flex; align-items: center; gap: 4px; border: none; background: transparent; color: #374151; font-size: 13px; font-weight: 500; cursor: pointer; font-family: inherit; padding: 4px 8px; border-radius: 6px; transition: background 0.15s ease; &:hover { background: #f3f4f6; } } } .dauth-resend { margin-bottom: 20px; :deep(.ant-btn) { border-radius: 10px; height: 42px; font-size: 13px; } } /* Actions */ .dauth-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; width: 100%; &__submit { min-height: 44px; font-size: 14px; font-weight: 600; } :deep(.ant-btn), :deep(button), :deep(.noname-base-button) { border-radius: 10px; min-height: 44px; height: auto; font-size: 14px; font-weight: 600; } } .dauth-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .dauth-switch { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 20px; padding-top: 4px; font-size: 13px; color: #6b7280; flex-shrink: 0; &__link { border: none; background: transparent; color: @App-primary-color; font-weight: 600; font-size: 13px; cursor: pointer; font-family: inherit; padding: 0; &:hover { text-decoration: underline; } } } /* Garoosi extras */ .dauth-garoosi-links { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; } .dauth-link-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px 16px; border: 1px solid #e5e7eb; border-radius: 10px; background: #ffffff; font-size: 13px; font-weight: 600; color: #374151; text-decoration: none; cursor: pointer; font-family: inherit; transition: background 0.15s ease, border-color 0.15s ease; &:hover { background: #f9fafb; border-color: #d1d5db; color: #111827; } &--primary { background: @App-primary-color; border-color: @App-primary-color; color: #ffffff; &:hover { background: @App-primary-color; border-color: @App-primary-color; color: #ffffff; opacity: 0.92; } } } /* PWA guide modal */ .dauth-pwa-steps { display: flex; flex-direction: column; gap: 20px; margin: 20px 0 8px; } .dauth-pwa-step { display: flex; align-items: center; gap: 16px; &__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; background: #f0f4ff; display: flex; align-items: center; justify-content: center; padding: 8px; img { width: 100%; height: 100%; object-fit: contain; } } &__text { font-size: 13px; color: #374151; line-height: 1.6; margin: 0; } } @media (max-width: 900px) { .dauth__layout { grid-template-columns: minmax(340px, 1fr) minmax(300px, 1fr); } .dauth-brand { padding: 40px 36px; &__footer { right: 36px; left: 36px; } } .dauth-form-panel { padding: 32px 28px; } } /* ─── Bourse Mes login mockup (۳ ناحیه: تصویر | متن | کارت) ─── */ @boursecu-navy: #0b192e; @boursecu-navy-deep: #0a1628; @boursecu-icon-bg: #152a45; @boursecu-copper: #d4843f; @boursecu-copper-soft: #e8a04a; @boursecu-btn: #1a3554; .dauth--boursecu { position: relative; min-height: 100vh; height: 100vh; width: 100%; overflow: hidden; background: @boursecu-navy; color: #fff; display: flex; flex-direction: column; .dauth-page-logo { position: absolute; top: clamp(20px, 3.2vh, 36px); left: clamp(28px, 3vw, 52px); z-index: 6; &__img { display: block; width: clamp(132px, 12.5vw, 172px); height: auto; max-height: clamp(112px, 16vh, 152px); object-fit: contain; } } .dauth__layout { flex: 1 1 auto; height: 100%; min-height: 0; display: grid; direction: ltr; /* تصویر چپ | متن وسط | کارت راست — موکاپ */ grid-template-columns: minmax(220px, 0.82fr) minmax(340px, 1.4fr) minmax(380px, 440px); grid-template-rows: minmax(0, 1fr); gap: clamp(8px, 1.4vw, 24px); align-items: stretch; padding: clamp(88px, 11vh, 108px) clamp(28px, 3.2vw, 52px) clamp(88px, 11vh, 112px) 0; } /* تصویر: پایین‌چپ، بزرگ، bleed به لبه چپ/پایین */ .dauth-visual-col { direction: ltr; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; align-self: stretch; min-height: 0; height: auto; padding: 0; margin: 0; overflow: visible; pointer-events: none; &__products { display: block; width: clamp(460px, 50vw, 740px); max-width: none; min-width: 380px; max-height: min(66vh, 580px); height: auto; object-fit: contain; object-position: left bottom; margin: 0; margin-inline-start: -10%; margin-bottom: -28px; transform: translateX(-8%); mix-blend-mode: lighten; pointer-events: none; user-select: none; } } /* متن: بالا هم‌تراز کارت؛ شعار پایین هم‌تراز لینک‌ها */ .dauth-center-col { direction: rtl; display: flex; flex-direction: column; justify-content: flex-start; align-self: stretch; min-height: 0; height: auto; padding-top: 0; padding-inline: clamp(4px, 1.2vw, 20px) clamp(4px, 1vw, 12px); max-width: none; width: 100%; &__body { display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; /* با tagline که margin-top:auto دارد → محتوا وسط‌چین عمودی مثل موکاپ */ margin-top: auto; } &__headline { margin: 0 0 12px; display: flex; flex-direction: column; gap: 2px; font-weight: 700; line-height: 1.3; } &__headline-line { font-size: clamp(24px, 2.3vw, 32px); color: #ffffff; letter-spacing: -0.02em; } &__headline-accent { font-size: clamp(32px, 3.2vw, 44px); color: @boursecu-copper-soft; letter-spacing: -0.02em; font-weight: 800; } &__lead { margin: 0 0 22px; max-width: 520px; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, 0.64); } &__features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; } &__feature { display: flex; align-items: flex-start; gap: 12px; } &__feature-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 8px; background: @boursecu-icon-bg; border: 1px solid rgba(232, 160, 74, 0.4); color: @boursecu-copper-soft; flex-shrink: 0; } &__feature-title { margin: 0; font-size: 13px; font-weight: 600; color: #ffffff; line-height: 1.5; } &__feature-desc { margin: 2px 0 0; font-size: 11px; line-height: 1.5; color: rgba(255, 255, 255, 0.48); } &__tagline { display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin-top: auto; /* هم‌تراز لینک‌ها؛ استاتوس زیر لینک‌هاست */ margin-bottom: calc(10px + 36px); margin-inline-start: clamp(20px, 3.5vw, 48px); padding-top: 0; flex-shrink: 0; font-size: 13px; font-weight: 500; line-height: 1.45; color: rgba(255, 255, 255, 0.78); } &__tagline-line { width: 40px; height: 2px; background: @boursecu-copper-soft; border-radius: 1px; flex-shrink: 0; } } /* کارت+پشتیبانی وسط؛ فوتر (لینک+استاتوس) پایین راست — هم‌تراز شعار */ .dauth-form-panel { direction: rtl; background: transparent; padding: 0 !important; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; /* RTL: لبه راست ستون */ align-self: stretch; min-height: 0; height: auto; width: 100%; } .dauth-form-column { width: 100%; max-width: 420px; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; } .dauth-form-column__top { display: flex; flex-direction: column; gap: 14px; flex: 0 0 auto; margin-top: auto; } .dauth-form-column__foot { display: flex; flex-direction: column; align-items: flex-start; /* RTL: راست‌چین زیر کارت */ gap: 10px; flex-shrink: 0; margin-top: auto; margin-bottom: 8px; margin-inline-start: 0; padding-top: 0; } .dauth-form-support { display: none; align-items: center; justify-content: center; gap: 6px; padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(12, 28, 48, 0.94); color: #ffffff; font-size: 12px; font-weight: 600; font-family: inherit; transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease; &:hover { background: rgba(10, 22, 40, 0.75); border-color: rgba(255, 255, 255, 0.55); } &--fab { position: fixed; z-index: 5200; display: inline-flex; margin: 0; min-height: 40px; padding: 8px 14px; cursor: grab; user-select: none; touch-action: none; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28); } &--fab-dragging { cursor: grabbing; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36); opacity: 0.96; } } .dauth-form-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; margin: 0; padding: 0; font-size: 12px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); &__link { border: none; background: transparent; padding: 0; font: inherit; color: rgba(255, 255, 255, 0.82); cursor: pointer; transition: color 0.15s ease; &:hover, &--accent { color: @boursecu-copper-soft; } } &__text { color: rgba(255, 255, 255, 0.72); cursor: default; user-select: none; } &__sep { color: rgba(255, 255, 255, 0.28); user-select: none; } } .dauth-card { width: 100%; max-width: 420px; border-radius: 14px; padding: 24px 26px 20px; box-shadow: none !important; margin: 0; } .dauth-card__eyebrow { color: #9ca3af; font-size: 11px; margin-bottom: 4px; } .dauth-card__title { font-size: 26px; font-weight: 700; color: #0f172a; } .dauth-card__subtitle { font-size: 12px; color: #6b7280; margin-top: 6px; } .dauth-toggle { background: #eceff3; border-radius: 12px; padding: 5px; gap: 6px; margin-bottom: 20px; &__btn { border-radius: 10px; padding: 10px 10px; font-size: 12px; font-weight: 600; color: #4b5563; &--active { background: @boursecu-btn; color: #ffffff; box-shadow: 0 4px 12px rgba(15, 35, 60, 0.25); } } } .dauth-form { :deep(.ant-form-item-label > label) { font-size: 12px; font-weight: 600; color: #111827; } :deep(.ant-input), :deep(.ant-input-affix-wrapper) { border-radius: 12px; min-height: 46px; border-color: #d1d5db; padding-inline: 14px; font-size: 14px; &:hover, &:focus, &-focused { border-color: @boursecu-btn; box-shadow: 0 0 0 2px rgba(26, 53, 84, 0.12); } } :deep(.ant-input-affix-wrapper .ant-input-prefix) { color: #9ca3af; margin-inline-end: 8px; } } .dauth-actions { gap: 9px; margin-top: 2px; &__submit, :deep(.noname-base-button.dauth-actions__submit) { min-height: 44px; border-radius: 10px; font-size: 14px; font-weight: 600; background: @boursecu-btn !important; border-color: @boursecu-btn !important; } } .dauth-btn-stack { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid @boursecu-btn; background: @boursecu-btn; color: #fff; font-size: 14px; font-weight: 600; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; box-sizing: border-box; padding: 0 14px; transition: opacity 0.15s ease, background 0.15s ease; &:hover:not(:disabled):not(.dauth-btn-stack--disabled) { opacity: 0.94; color: #fff; } &:disabled, &--disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; } &--link { color: #fff; } } .dauth-link-btn--primary { background: @boursecu-btn; border-color: @boursecu-btn; min-height: 44px; border-radius: 10px; font-size: 14px; } .dauth-switch { margin-top: 14px; font-size: 12px; color: #6b7280; &__link { color: @boursecu-copper; font-weight: 700; } } .dauth-page-footer__status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid rgba(148, 180, 220, 0.28); background: rgba(12, 28, 48, 0.92); color: rgba(255, 255, 255, 0.9); font-size: 11px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22); } .dauth-page-footer__status-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 999px; background: rgba(8, 18, 32, 0.85); color: @boursecu-copper-soft; flex-shrink: 0; } } /* دسکتاپ متوسط: جمع‌وجورتر بدون کوچک‌کردن زیاد عکس */ @media (max-width: 1360px) and (min-width: 1101px) { .dauth--boursecu { .dauth__layout { grid-template-columns: minmax(220px, 0.8fr) minmax(300px, 1.3fr) minmax(360px, 420px); gap: clamp(6px, 1vw, 16px); padding-bottom: clamp(72px, 9vh, 96px); } .dauth-visual-col__products { width: clamp(420px, 46vw, 640px); min-width: 360px; max-height: min(60vh, 520px); margin-inline-start: -8%; transform: translateX(-6%); } .dauth-form-column__foot { gap: 10px; } .dauth-center-col { &__headline-line, &__headline-accent { font-size: clamp(24px, 2.2vw, 30px); } &__lead { font-size: 12px; margin-bottom: 16px; } &__features { gap: 12px; } } } } /* ارتفاع کوتاه دسکتاپ */ @media (max-height: 780px) and (min-width: 768px) { .dauth--boursecu { .dauth__layout { padding-top: clamp(72px, 9vh, 92px); padding-bottom: clamp(28px, 4vh, 44px); } .dauth-visual-col__products { max-height: min(48vh, 360px); margin-bottom: -16px; } .dauth-center-col { &__lead { margin-bottom: 14px; } &__features { gap: 10px; } &__feature-icon { width: 36px; height: 36px; } } } } /* ─── تبلت عریض (≈768–1100): دو ستون — برند چپ، فرم راست ─── */ @media (max-width: 1100px) and (min-width: 768px) { .dauth--boursecu { .dauth-page-logo { top: 20px; left: 24px; &__img { width: clamp(110px, 14vw, 140px); max-height: 120px; } } .dauth__layout { direction: ltr; grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); grid-template-rows: auto minmax(0, 1fr); grid-template-areas: 'brand form' 'visual form'; align-items: stretch; gap: 16px 28px; padding: 96px 28px 20px 0; min-height: calc(100vh - 64px); height: auto; } .dauth-center-col { grid-area: brand; order: unset; min-height: auto; height: auto; max-width: none; margin: 0; padding: 8px 12px 0 20px; justify-content: flex-start; &__headline-line, &__headline-accent { font-size: clamp(24px, 3vw, 30px); } &__lead { font-size: 13px; margin-bottom: 18px; } &__features { gap: 14px; } &__tagline { margin-top: 20px; padding-top: 0; } } .dauth-visual-col { grid-area: visual; order: unset; min-height: auto; align-items: flex-start; justify-content: flex-end; padding-bottom: 0; &__products { width: clamp(360px, 44vw, 520px); min-width: 320px; max-height: min(46vh, 380px); margin-inline-start: -4%; margin-bottom: -8px; transform: translateX(-4%); mix-blend-mode: lighten; } } .dauth-form-panel { grid-area: form; order: unset; justify-content: flex-start; align-items: flex-start; align-self: stretch; padding-inline-end: 8px; width: 100%; height: auto; } .dauth-form-column { max-width: 400px; margin: 0; width: 100%; flex: 1 1 auto; height: auto; } .dauth-center-col__body { margin-top: 0; } .dauth-form-column__top { margin-top: 0; } .dauth-form-column__foot { margin-top: auto; } .dauth-card { box-shadow: none !important; padding: 22px 22px 18px; } } } /* ─── موبایل (<768): لوگو + کارت + پشتیبانی، وسط‌چین عمودی ─── */ @media (max-width: 767px) { .dauth.dauth--boursecu { /* 100vh آیفون پشت نوار سافاری است؛ اسکرول روان در ارتفاع واقعی بدون قفل شدن */ height: auto !important; min-height: 100dvh !important; max-height: none !important; overflow-x: hidden !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch !important; touch-action: pan-y !important; overscroll-behavior-y: auto !important; display: flex; flex-direction: column; justify-content: flex-start; padding: 16px 0 calc(36px + env(safe-area-inset-bottom, 0px)); .dauth-page-logo { position: relative; top: auto; left: auto; transform: none; display: flex; justify-content: center; padding: 0 16px 12px; z-index: 5; flex-shrink: 0; &__img { width: 104px; max-height: 96px; } } .dauth__layout { display: flex; flex-direction: column; direction: rtl; flex: 0 0 auto; gap: 12px; padding: 0 16px; min-height: auto; width: 100%; } .dauth-form-panel { order: 1; width: 100%; justify-content: center; padding: 0; } .dauth-form-column { max-width: none; width: 100%; height: auto; gap: 0; } .dauth-form-column__top { gap: 12px; margin-top: 0; } .dauth-form-column__foot { margin-top: 10px; margin-bottom: 0; margin-inline-start: 0; padding-top: 0; align-items: center; gap: 8px; } .dauth-page-footer__status { display: none; } .dauth-card { max-width: none; width: 100%; border-radius: 14px; padding: 20px 16px 16px; box-shadow: none !important; } .dauth-card__header { margin-bottom: 18px; } .dauth-card__title { font-size: 22px; } .dauth-card__subtitle { font-size: 12px; margin-top: 4px; } .dauth-toggle { margin-bottom: 14px; padding: 4px; gap: 4px; &__btn { padding: 10px 6px; font-size: 12px; } } .dauth-form { &.ant-form-vertical :deep(.ant-form-item) { margin-bottom: 14px; } :deep(.ant-input), :deep(.ant-input-affix-wrapper) { min-height: 44px; } } .dauth-actions { gap: 8px; margin-top: 0; } .dauth-btn-stack, .dauth-actions__submit, :deep(.noname-base-button.dauth-actions__submit) { min-height: 44px; border-radius: 10px; font-size: 13px; } .dauth-form-links { display: flex; justify-content: center; width: 100%; gap: 6px 8px; font-size: 11px; line-height: 1.6; text-align: center; flex-wrap: wrap; margin: 0; padding: 0; } .dauth-center-col { display: flex; order: 2; min-height: auto; height: auto; max-width: none; width: 100%; padding: 4px 0 0; justify-content: center; align-items: center; &__body { display: none; margin-top: 0; } &__tagline { display: inline-flex; justify-content: center; margin: 8px 0 0; padding-top: 0; font-size: 12px; } } .dauth-visual-col { display: none; } .dauth-switch { margin-top: 12px; font-size: 11px; } /* دکمه شناور پشتیبانی در موبایل: زیر کارت و بالاتر از لینک‌های فوتر نمایش داده شود و شناور روی فرم نیفتد */ .dauth-form-support--fab { position: static !important; display: inline-flex !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; width: auto !important; align-self: center; margin: 14px auto 0 !important; z-index: 10 !important; } } } @media (max-width: 400px) { .dauth--boursecu { .dauth-page-logo { &__img { width: 88px; max-height: 80px; } } .dauth-form-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; justify-items: center; &__sep { display: none; } } } } .login-form--desktop { :deep(.ant-form-item) { margin-bottom: 18px; } :deep(.ant-form-item-label > label) { font-size: 12px; font-weight: 600; color: #374151; } }