@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&display=swap');

.editorial-auth-page .editorial-header { position: relative; z-index: 20; background: rgba(255, 255, 255, .96); }
.editorial-auth-page .editorial-actions .is-current-account { color: #ad854c; }
.editorial-auth-page .editorial-actions .is-current-account::after { content: ""; position: absolute; bottom: 2px; width: 17px; height: 1px; background: #ad854c; }
.auth-access-alert { width: min(1320px, calc(100% - 72px)); margin: 22px auto -32px; padding: 13px 17px; color: #852626; background: #fff2f1; border: 1px solid #ecc3bf; font-size: 12px; }
.auth-access-alert-success { color: #2f5d43; background: #f1f8f3; border-color: #bad9c4; }

.session-security-notice {
    position: relative;
    z-index: 3;
    width: min(1180px, calc(100% - 72px));
    margin: 24px auto 0;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    overflow: hidden;
    color: #28231d;
    background: linear-gradient(112deg, #fff 0%, #fbf8f2 58%, #f3eadc 100%);
    border: 1px solid rgba(173, 133, 76, .36);
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(45, 37, 26, .09);
}
.session-security-notice::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: #ad854c; }
.session-security-notice__icon { width: 54px; height: 54px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #bc965f, #98703b); border-radius: 50%; box-shadow: 0 10px 24px rgba(152, 112, 59, .22); }
.session-security-notice__icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.session-security-notice__copy { min-width: 0; display: grid; gap: 3px; }
.session-security-notice__copy small { color: #a37c46; font-size: 9px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.session-security-notice__copy strong { color: #201c17; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.session-security-notice__copy > span { color: #71695f; font-size: 12px; line-height: 1.55; }
.session-security-notice > a { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; color: #fff; background: #1c1a17; border: 1px solid #1c1a17; border-radius: 7px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.session-security-notice > a:hover { background: #ad854c; border-color: #ad854c; transform: translateY(-1px); }
.session-security-notice > a:focus-visible { outline: 2px solid #ad854c; outline-offset: 3px; }

@media (max-width: 760px) {
    .session-security-notice { width: min(100% - 30px, 560px); margin-top: 15px; padding: 18px; grid-template-columns: 46px minmax(0, 1fr); gap: 13px; border-radius: 10px; }
    .session-security-notice__icon { width: 46px; height: 46px; }
    .session-security-notice__icon svg { width: 23px; height: 23px; }
    .session-security-notice__copy strong { font-size: 15px; }
    .session-security-notice > a { grid-column: 1 / -1; width: 100%; }
}

.registration-received-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(18, 17, 15, .58);
    backdrop-filter: blur(7px);
    animation: registration-overlay-in .25s ease both;
}
.registration-received-modal.is-closing { pointer-events: none; animation: registration-overlay-out .22s ease both; }
.registration-received-card {
    position: relative;
    width: min(520px, 100%);
    padding: 48px 44px 42px;
    overflow: hidden;
    color: #24211d;
    background: #fff;
    border: 1px solid rgba(173, 133, 76, .34);
    box-shadow: 0 28px 85px rgba(0, 0, 0, .24);
    text-align: center;
    animation: registration-card-in .32s cubic-bezier(.2, .8, .2, 1) both;
}
.registration-received-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: #ad854c; }
.registration-received-close { position: absolute; top: 13px; right: 15px; width: 34px; height: 34px; padding: 0; color: #777066; background: transparent; border: 0; cursor: pointer; font: 300 25px/1 Arial, sans-serif; }
.registration-received-icon { width: 58px; height: 58px; margin: 0 auto 18px; display: grid; place-items: center; color: #fff; background: #ad854c; border-radius: 50%; box-shadow: 0 8px 24px rgba(173, 133, 76, .3); }
.registration-received-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.registration-received-eyebrow { margin: 0 0 8px; color: #ad854c; font-size: 9px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.registration-received-card h2 { margin: 0; color: #171614; font-family: "Cormorant Garamond", Georgia, serif; font-size: 38px; font-weight: 600; line-height: 1; }
.registration-received-card > p:not(.registration-received-eyebrow) { margin: 19px auto 0; color: #625c54; font-size: 13px; line-height: 1.75; }
.registration-received-card small { display: block; margin-top: 23px; color: #9a9389; font-size: 9px; letter-spacing: .06em; }

@keyframes registration-overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes registration-overlay-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes registration-card-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

.account-access-page {
    --access-ink: #171614;
    --access-muted: #6e6962;
    --access-gold: #ad854c;
    --access-line: #e3ded7;
    padding: 70px 0 105px;
    background: radial-gradient(circle at 78% 9%, rgba(219, 205, 182, .32), transparent 27%), linear-gradient(180deg, #faf9f6 0%, #fff 48%);
}

.account-access-shell { width: min(1320px, calc(100% - 72px)); margin-inline: auto; }
.access-heading { margin: 0 0 38px; display: flex; justify-content: space-between; gap: 35px; align-items: end; }
.access-heading > p { display: flex; gap: 12px; align-items: center; margin: 0; color: #57524c; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.access-heading > p span { width: 30px; height: 1px; background: var(--access-gold); }
.access-heading h1 { margin: 0; color: var(--access-ink); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(43px, 5vw, 70px); font-weight: 500; line-height: .94; letter-spacing: -.025em; text-align: right; }
.access-mobile-links { display: none; }

.photographer-membership-notice { margin: -11px 0 26px; padding: 17px 20px; display: grid; grid-template-columns: 42px minmax(0, 1fr); align-items: center; gap: 14px; color: #30291f; background: linear-gradient(105deg, #fffaf1, #f8f0e2); border: 1px solid #decba9; box-shadow: 0 12px 30px rgba(74, 57, 32, .06); }
.photographer-membership-notice__icon { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: #ad854c; border-radius: 50%; }
.photographer-membership-notice__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.photographer-membership-notice__copy { min-width: 0; display: grid; gap: 4px; }
.photographer-membership-notice__copy > strong { color: #8b6735; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.photographer-membership-notice__copy > span { color: #39332b; font-size: 14px; font-weight: 650; line-height: 1.55; }

.access-windows { display: grid; grid-template-columns: minmax(340px, .8fr) minmax(620px, 1.45fr); gap: 24px; align-items: start; }
.access-window { position: relative; overflow: hidden; border: 1px solid var(--access-line); padding: clamp(27px, 3.2vw, 46px); box-shadow: 0 24px 60px rgba(45, 38, 30, .08); }
.access-window::before { content: ""; position: absolute; top: 0; left: 0; width: 0; height: 3px; background: var(--access-gold); transition: width .25s ease; }
.access-window.is-primary::before, .access-window:focus-within::before { width: 100%; }
.login-window { color: #fff; background: linear-gradient(145deg, #1d1c19, #111); border-color: #23221f; }
.register-window { color: var(--access-ink); background: rgba(255, 255, 255, .95); }

.access-window-heading { display: flex; gap: 17px; align-items: center; padding-bottom: 23px; border-bottom: 1px solid rgba(130, 122, 111, .22); }
.access-window-number { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid currentColor; border-radius: 50%; color: var(--access-gold); font-family: "Cormorant Garamond", Georgia, serif; font-size: 17px; }
.access-window-heading p { margin: 0 0 2px; color: inherit; opacity: .55; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.access-window-heading h2 { margin: 0; color: inherit; font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; font-weight: 600; line-height: 1; }
.access-window-intro { margin: 22px 0 27px; color: inherit; opacity: .68; font-size: 12px; line-height: 1.7; }
.access-window-intro strong { color: var(--access-gold); }

.access-window form { display: grid; gap: 10px; }
.access-window label { color: inherit; font-size: 10px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.access-window label > span { color: var(--access-gold); }
.access-window input:not([type='checkbox']), .access-window select {
    width: 100%; height: 48px; padding: 0 14px; color: var(--access-ink); background: #fff; border: 1px solid #d9d3cb; border-radius: 0; font: 500 13px/1.2 Arial, sans-serif; outline: 0;
}
.login-window input:not([type='checkbox']) { color: #fff; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.access-window input:not([type='checkbox']):focus, .access-window select:focus { border-color: var(--access-gold); box-shadow: 0 0 0 3px rgba(173, 133, 76, .13); }
.access-window input[aria-invalid='true'], .access-window select[aria-invalid='true'] { border-color: #bd3c3c; }
.access-error { display: block; color: #c23d3d; font-size: 10px; line-height: 1.4; }
.login-window .access-error { color: #ffaaa4; }
.access-help { display: block; margin-top: 5px; color: var(--access-muted); font-size: 9px; }

.login-options { margin: 8px 0 6px; display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.login-options a { color: #d7b57f; font-size: 10px; font-weight: 600; text-decoration: none; }
.access-checkbox { display: flex !important; gap: 9px; align-items: flex-start; letter-spacing: 0 !important; line-height: 1.55; text-transform: none !important; }
.access-checkbox input { width: 17px; height: 17px; margin: 1px 0 0; flex: 0 0 17px; accent-color: var(--access-gold); }
.access-checkbox span { color: inherit !important; }
.privacy-check { margin-top: 11px; color: #56514b !important; font-size: 10px !important; font-weight: 500 !important; }
.privacy-check a { color: #7c5b2e; font-weight: 700; }

.access-submit { min-height: 52px; margin-top: 12px; padding: 0 19px; display: flex; justify-content: space-between; align-items: center; border: 0; cursor: pointer; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: transform .2s ease, background-color .2s ease; }
.access-submit:hover { transform: translateY(-2px); }
.access-submit span { font-size: 20px; font-weight: 300; }
.access-submit-dark { color: #171614; background: #f1ede6; }
.access-submit-gold { color: #fff; background: var(--access-gold); }
.access-submit-gold:hover { background: #96713d; }

.login-benefits { margin-top: 32px; padding-top: 23px; display: grid; gap: 10px; border-top: 1px solid rgba(255,255,255,.13); }
.login-benefits span { position: relative; padding-left: 17px; color: rgba(255,255,255,.63); font-size: 10px; }
.login-benefits span::before { content: "✓"; position: absolute; left: 0; color: #d7b57f; }

.access-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 15px; }
.access-field { min-width: 0; }
.access-field-wide { grid-column: 1 / -1; }
.access-field label { display: block; margin-bottom: 7px; }
.country-first-field select { width: 100%; }
.international-phone { display: grid; grid-template-columns: 84px minmax(200px, 1fr); }
.phone-dial-code { display: grid; place-items: center; color: #3f3932; background: #f4f0ea; border: 1px solid #d9d3cb; border-right: 0; font-size: 13px; font-weight: 700; }

.company-fields { margin: 22px 0 5px; padding: 23px 0 0; border: 0; border-top: 1px solid var(--access-line); }
.company-fields legend { width: 100%; margin: 0 0 17px; padding: 0; display: flex; justify-content: space-between; align-items: center; }
.company-fields legend span { font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; font-weight: 600; }
.company-fields legend small { padding: 5px 8px; color: #81786d; background: #f3efe9; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.identity-security-note { margin: 14px 0 3px; padding: 11px 13px; display: flex; gap: 10px; align-items: center; color: #5b554d; background: #f8f5f0; border: 1px solid #e8e0d5; font-size: 9px; line-height: 1.5; }
.identity-security-note svg { width: 23px; height: 23px; flex: 0 0 23px; fill: none; stroke: var(--access-gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1020px) {
    .access-heading { display: block; }
    .access-heading h1 { margin-top: 18px; text-align: left; }
    .access-windows { grid-template-columns: 1fr; }
    .login-window { order: 1; }
    .register-window { order: 2; }
}

@media (max-width: 640px) {
    .account-access-page { padding: 45px 0 70px; }
    .account-access-shell { width: calc(100% - 28px); }
    .access-heading h1 { font-size: 42px; }
    .photographer-membership-notice { margin-top: -9px; padding: 15px; grid-template-columns: 36px minmax(0, 1fr); gap: 11px; }
    .photographer-membership-notice__icon { width: 36px; height: 36px; }
    .photographer-membership-notice__copy > span { font-size: 13px; }
    .access-mobile-links { margin-top: 23px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--access-line); }
    .access-mobile-links a { padding: 12px; color: var(--access-ink); font-size: 10px; font-weight: 700; text-align: center; text-decoration: none; text-transform: uppercase; }
    .access-mobile-links a + a { border-left: 1px solid var(--access-line); }
    .access-window { padding: 25px 20px; scroll-margin-top: 20px; }
    .access-form-grid { grid-template-columns: 1fr; }
    .access-field-wide { grid-column: auto; }
    .international-phone { grid-template-columns: 74px minmax(0, 1fr); }
    .login-options { align-items: flex-start; flex-direction: column; }
    .registration-received-card { padding: 42px 24px 35px; }
    .registration-received-card h2 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .registration-received-modal,
    .registration-received-modal.is-closing,
    .registration-received-card { animation: none; }
}
