/* The social sign-in entrance shares Qrtoba's palette and Arabic typography. */
.social-auth-icon { display: block; width: 1em; height: 1em; flex-shrink: 0; }
.social-auth {
    padding-block: 30px 25px;
    background: #f7f9f2;
    border-bottom: 1px solid #e6ebdf;
}
.social-auth > .site-shell { max-width: 1100px; }
.social-auth-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 12px;
    color: var(--slate-gray);
}
.social-auth-topline > span, .social-auth-back { display: inline-flex; align-items: center; gap: 10px; }
.social-auth-back { min-height: 36px; color: var(--mint-primary); font-weight: 500; }
.social-auth-back:hover { text-decoration: underline; text-underline-offset: 5px; }
.social-auth-back .social-auth-icon { font-size: 14px; }
.social-auth-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--accent-yellow); }
.social-auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    padding: 10px;
    background: #fff;
    border: 1px solid #e3e9dd;
    border-radius: 22px;
    box-shadow: 0 12px 42px rgb(28 56 36 / 4%);
}
.social-auth-content { min-width: 0; padding: 37px 44px 27px; align-self: center; }
.social-auth-connection { display: flex; align-items: center; margin-bottom: 26px; }
.social-auth-provider-mark, .social-auth-brand-mark {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 1px solid #e2e8df;
    border-radius: 15px;
}
.social-auth-provider-mark { background: #fff; box-shadow: 0 3px 7px rgb(28 56 36 / 3%); }
.social-auth-provider-mark .social-auth-google-mark { width: 28px; height: 28px; }
.social-auth-brand-mark { background: #f4f7ee; border-color: #e6ebdd; }
.social-auth-brand-mark img { width: 40px; height: 45px; object-fit: contain; }
.social-auth-connection-line { display: flex; align-items: center; width: 64px; color: #829275; font-size: 11px; }
.social-auth-connection-line::before, .social-auth-connection-line::after { content: ''; flex: 1; border-top: 1px dashed #ccd7c3; }
.social-auth-connection-line .social-auth-icon { margin-inline: 7px; }
.social-auth-eyebrow { color: #617548; font-size: 12px; font-weight: 500; }
.social-auth-content h1 { margin: 9px 0 13px; color: var(--mint-primary); font-size: clamp(28px, 2.65vw, 38px); font-weight: 600; line-height: 1.6; letter-spacing: -.7px; }
.social-auth-content h1 > span { color: var(--accent-yellow); }
.social-auth-description { color: var(--slate-gray); font-size: 14px; line-height: 1.95; max-width: 390px; }
.social-auth-form { margin-top: 26px; }
.social-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: 100%;
    min-height: 58px;
    padding: 13px 18px;
    border: 1px solid #bdc9b8;
    border-radius: 9px;
    background: #fff;
    color: #243e33;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.social-auth-submit:hover { background: #f8faf5; border-color: var(--mint-primary); box-shadow: 0 3px 10px rgb(14 75 60 / 7%); }
.social-auth-submit:active { background: #eef3e6; }
.social-auth-google-mark { flex-shrink: 0; }
.social-auth-submit .social-auth-submit-arrow { margin-inline-start: auto; color: #697c62; font-size: 12px; }
.social-auth-security { display: flex; align-items: flex-start; gap: 11px; margin-top: 18px; padding: 14px; border-radius: 9px; background: #f7f9f3; }
.social-auth-security-icon { padding-top: 2px; color: #617d32; font-size: 16px; }
.social-auth-security strong { display: block; color: #3e5837; font-size: 12px; font-weight: 500; }
.social-auth-security p { margin-top: 3px; color: #6a7764; font-size: 12px; line-height: 1.9; }
.social-auth-divider { display: flex; align-items: center; gap: 14px; margin-block: 21px 16px; color: #7a8672; font-size: 11px; }
.social-auth-divider::before, .social-auth-divider::after { content: ''; flex: 1; height: 1px; background: #e8ede3; }
.social-auth-alternative { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 9px 12px; border-radius: 8px; color: var(--mint-primary); font-size: 13px; font-weight: 500; }
.social-auth-alternative:hover { background: #f3f7ed; }
.social-auth-security + .social-auth-alternative { margin-top: 20px; }
.social-auth-signup { margin-top: 12px; text-align: center; color: #6a7764; font-size: 12px; }
.social-auth-signup a { margin-inline-start: 5px; color: var(--mint-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.social-auth-legal { margin-top: 26px; text-align: center; color: #65715e; font-size: 11px; line-height: 2; }
.social-auth-legal a { color: #4d6441; text-decoration: underline; text-underline-offset: 3px; }
.social-auth-story {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 30px 36px 25px;
    overflow: hidden;
    border-radius: 15px;
    background: var(--mint-primary);
    color: #fff;
}
.social-auth-story-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.social-auth-story-top > span:first-child { display: inline-flex; align-items: center; gap: 8px; color: #d0dfcc; font-size: 11px; }
.social-auth-wordmark { font-family: Georgia, serif; font-size: 21px; color: #edf3e9; }
.social-auth-story h2 { position: relative; z-index: 1; margin-top: 29px; font-size: clamp(30px, 3vw, 41px); font-weight: 500; line-height: 1.65; letter-spacing: -.5px; }
.social-auth-story h2 > span { color: #c4de91; }
.social-auth-story-description { position: relative; z-index: 1; margin-top: 12px; color: #d0dfd4; font-size: 13px; line-height: 2; }
.social-auth-art { position: relative; width: 100%; max-width: 390px; height: 275px; margin: 21px auto 12px; }
.social-auth-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgb(195 222 156 / 16%); border-radius: 50%; transform: translate(-50%, -50%); }
.social-auth-orbit-outer { width: 350px; height: 350px; }
.social-auth-orbit-inner { width: 290px; height: 290px; }
.social-auth-creative-card { position: absolute; inset: 23px 23px 34px; padding: 20px 23px; border: 1px solid #c9dba8; border-radius: 12px; background: #dce9bb; color: #0e4b3c; transform: rotate(-7deg); box-shadow: 8px 10px 0 rgb(4 39 28 / 15%); }
.social-auth-card-top { display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: #526c3c; }
.social-auth-card-top > span:last-child { font-size: 6px; letter-spacing: 3px; }
.social-auth-card-message { margin-top: 16px; font-size: 31px; font-weight: 600; line-height: 1.7; }
.social-auth-card-message > span { color: #476b30; }
.social-auth-card-rule { height: 1px; margin-top: 13px; background: #b8ce96; }
.social-auth-card-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 9px; color: #526c3c; }
.social-auth-spark { position: absolute; z-index: 1; top: -3px; left: 4px; color: #bddb86; font-size: 65px; transform: rotate(12deg); text-shadow: 3px 3px #0e4b3c; }
.social-auth-art-note { position: absolute; right: 7px; bottom: 1px; left: 0; display: flex; align-items: center; gap: 11px; padding: 14px 16px; background: #fff; color: #19352d; border: 1px solid #e4eadc; border-radius: 10px; transform: rotate(3deg); box-shadow: 0 8px 20px rgb(0 0 0 / 8%); }
.social-auth-art-note > span { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: #eef4e4; color: #577c2e; font-size: 12px; }
.social-auth-art-note strong { display: block; font-size: 12px; font-weight: 600; }
.social-auth-art-note small { display: block; margin-top: 2px; color: #74816d; font-size: 10px; }
.social-auth-art-note > .social-auth-icon { margin-inline-start: auto; color: #789c3f; font-size: 18px; }
.social-auth-story-bottom { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 24px; color: #d0dfcc; font-size: 10px; }
.social-auth-story-bottom > span { display: inline-flex; align-items: center; gap: 7px; }
.social-auth-story-bottom .social-auth-icon { color: #bddb86; font-size: 12px; }
.social-auth-story-separator { width: 1px; height: 12px; background: #4a7761; }
.social-auth-help { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 22px; color: #6a7764; font-size: 11px; }
.social-auth-help a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--mint-primary); }
.social-auth-help a:hover { text-decoration: underline; text-underline-offset: 4px; }
.social-auth-help .social-auth-icon { font-size: 12px; }

@media (max-width: 1023px) {
    .social-auth-content { padding-inline: 28px; }
    .social-auth-story { padding-inline: 26px; }
    .social-auth-story h2 { font-size: 34px; }
    .social-auth-card-message { font-size: 26px; }
    .social-auth-creative-card { inset-inline: 13px; }
    .social-auth-spark { font-size: 52px; left: -5px; }
}
@media (max-width: 767px) {
    .social-auth { padding-block: 18px 20px; }
    .social-auth-topline { margin-bottom: 15px; }
    .social-auth-topline > span { display: none; }
    .social-auth-layout { grid-template-columns: minmax(0, 1fr); padding: 7px; border-radius: 17px; }
    .social-auth-content { width: 100%; max-width: 480px; margin-inline: auto; padding: 25px 23px 28px; }
    .social-auth-content h1 { font-size: 32px; }
    .social-auth-connection { margin-bottom: 23px; }
    .social-auth-description { font-size: 13px; }
    .social-auth-story { padding: 23px 27px; border-radius: 11px; }
    .social-auth-story h2 { margin-top: 20px; font-size: 32px; }
    .social-auth-story h2 br, .social-auth-story-description br { display: none; }
    .social-auth-story-description { max-width: 390px; margin-top: 7px; font-size: 12px; }
    .social-auth-art { display: none; }
    .social-auth-story-bottom { justify-content: flex-start; padding-top: 20px; }
    .social-auth-help { margin-top: 14px; }
}
@media (max-width: 389px) {
    .social-auth-content { padding-inline: 15px; }
    .social-auth-content h1 { font-size: 28px; }
    .social-auth-submit { padding-inline: 12px; gap: 9px; font-size: 12px; }
    .social-auth-story { padding-inline: 20px; }
    .social-auth-story h2 { font-size: 27px; }
    .social-auth-story-bottom { gap: 9px; font-size: 9px; }
}
