/* Figma: development/yedeknokta, Mağaza Başvurusu (2439:148318).
   This stylesheet is isolated to the partner application surface. */
@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope/manrope-variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}
.yn-partner-application {
    --pa-line: #ece9e3;
    --pa-muted: #5c5e64;
    --pa-text: #15171c;
    --pa-brand: #f47b1b;
    background: #fdfcfa;
}
.yn-partner-application #main-content { background: #fdfcfa; }
.pa-page, .pa-legal-dialog, .pa-footer { font-family: Manrope, sans-serif; color: var(--pa-text, #15171c); }
.pa-page *, .pa-legal-dialog * { box-sizing: border-box; }
.pa-page [hidden], .pa-legal-dialog [hidden] { display: none !important; }
.pa-page { max-width: 1180px; margin: 0 auto; padding: 36px 24px 64px; }
.pa-heading { margin-bottom: 26px; }
.pa-heading h1 { margin: 0 0 6px; font-size: 30px; line-height: 1.37; letter-spacing: -.6px; font-weight: 800; }
.pa-heading p { max-width: 640px; margin: 0; color: var(--pa-muted); font-size: 14px; line-height: 1.6; }
.pa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.pa-form { min-width: 0; }
.pa-steps { padding: 15px 18px; border: 1px solid var(--pa-line); border-radius: 20px; background: #fff; margin-bottom: 16px; }
.pa-steps ol { display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pa-steps li { min-width: 0; }
.pa-steps button { display: flex; align-items: center; gap: 10px; padding: 0; width: 100%; min-height: 32px; border: 0; background: transparent; text-align: left; color: var(--pa-text); font-family: inherit; cursor: pointer; }
.pa-steps button:disabled { cursor: default; opacity: 1; }
.pa-step-number { display: flex; flex: 0 0 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid #dcd7cd; border-radius: 50%; color: var(--pa-muted); font-size: 12px; font-weight: 800; }
.pa-steps [aria-current="step"] .pa-step-number { background: var(--pa-brand); border-color: var(--pa-brand); color: white; }
.pa-steps .is-complete .pa-step-number { background: #15171c url("../images/partner-application/check-white.svg") center/14px no-repeat; border-color: #15171c; font-size: 0; }
.pa-steps small { display: block; color: #6e6a62; font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.pa-steps strong { display: block; font-size: 13px; line-height: 1.4; font-weight: 500; }
.pa-steps [aria-current="step"] strong { font-weight: 800; }
.pa-panel { padding: 28px; border: 1px solid var(--pa-line); border-radius: 24px; background: #fff; }
.pa-panel-heading { margin-bottom: 24px; }
.pa-panel-heading h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.35; font-weight: 800; letter-spacing: -.4px; text-transform: uppercase; }
.pa-panel-heading p { margin: 0; color: var(--pa-muted); font-size: 13px; line-height: 1.6; }
.pa-page fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.pa-page legend { float: none; width: auto; padding: 0; margin: 0 0 8px; font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .66px; text-transform: uppercase; color: #6e6a62; }
.pa-company-types > div { display: flex; flex-wrap: wrap; gap: 10px; }
.pa-company-types label { display: flex; align-items: center; gap: 12px; min-height: 68px; margin: 0; padding: 14px 16px; border: 1px solid var(--pa-line); border-radius: 18px; cursor: pointer; }
.pa-company-types label:has(:checked) { background: #fff8f2; border-color: var(--pa-brand); }
.pa-company-types input { margin: 0; width: 18px; height: 18px; accent-color: var(--pa-brand); }
.pa-company-types strong { display: block; font-size: 14px; line-height: 1.4; font-weight: 700; }
.pa-company-types small { display: block; margin-top: 2px; font-size: 12px; color: var(--pa-muted); }
.pa-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 24px; }
.pa-field { min-width: 0; }
.pa-field--wide { grid-column: 1 / -1; }
.pa-field > label { display: block; margin: 0 0 6px; font-size: 11px; line-height: 15px; font-weight: 700; letter-spacing: .66px; text-transform: uppercase; color: #6e6a62; }
.pa-page .pa-input { display: block; width: 100%; min-width: 0; height: 46px; padding: 11px 15px; border: 1px solid var(--pa-line); border-radius: 18px; background: #fff; color: var(--pa-text); font: 400 14px/22px Manrope, sans-serif; box-shadow: none; }
.pa-input::placeholder { color: #757575; opacity: 1; }
.pa-page textarea.pa-input { min-height: 88px; height: auto; resize: vertical; }
.pa-page .pa-input:focus { border-color: var(--pa-brand); outline: 3px solid #f47b1b26; outline-offset: 1px; }
.pa-page [aria-invalid="true"] { border-color: #bc2921; }
.pa-phone { display: flex; gap: 8px; }
.pa-phone > span { display: flex; align-items: center; padding: 0 13px; background: #f7f6f2; border: 1px solid var(--pa-line); border-radius: 18px; font-size: 14px; font-weight: 600; }
.pa-page .pa-address { margin-top: 30px; padding-top: 22px; border-top: 1px solid #f1efea; }
.pa-page .pa-address legend { float: left; width: 100%; margin: 0 0 16px; color: var(--pa-text); text-transform: none; font-size: 14px; letter-spacing: 0; font-weight: 800; }
.pa-fields--address { clear: both; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.pa-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 20px; border-top: 1px solid #f1efea; }
.pa-actions--end { justify-content: flex-end; }
.pa-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 26px; border: 1px solid #dcd7cd; border-radius: 99px; background: #fff; color: #15171c; font: 800 12px/1.5 Manrope, sans-serif; letter-spacing: .6px; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.pa-button:hover { color: #15171c; text-decoration: none; background: #f7f6f2; }
.pa-button--primary { border-color: transparent; background: var(--pa-brand, #f47b1b); color: #fff; }
.pa-button--primary:hover { background: #d75f00; color: #fff; }
.pa-button:disabled { cursor: not-allowed; background: #dcd7cd; border-color: transparent; color: #3f4148; }
.pa-button:disabled .pa-arrow { filter: brightness(.3); }
.pa-button--dark { display: flex; width: 100%; min-height: 42px; background: #15171c; color: #fff; border-color: #15171c; }
.pa-button--dark:hover { background: #34363b; color: #fff; }
.pa-button--small { min-height: 36px; padding: 7px 16px; font-size: 11px; font-weight: 700; border-color: #15171c; white-space: nowrap; }
.pa-button--review { background: #c2410c; border-color: #c2410c; color: #fff; }
.pa-button--review:hover { background: #9a3412; border-color: #9a3412; color: #fff; }
.pa-submit-action { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; max-width: 360px; margin-left: auto; }
.pa-submit-action p { margin: 0; font-size: 12px; line-height: 1.5; color: #5c5e64; text-align: right; }
.pa-arrow { width: 14px; height: 14px; background: url("../images/partner-application/chevron-right.svg") center/contain no-repeat; }
.pa-arrow--back { background-image: url("../images/partner-application/chevron-left.svg"); }
.pa-page :is(button, a, input):focus-visible, .pa-legal-dialog :is(button, a):focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
.pa-panel-heading h2:focus { outline: none; }
.pa-aside { display: grid; gap: 16px; position: sticky; top: 24px; }
.pa-info-card { padding: 22px; border: 1px solid var(--pa-line); border-radius: 24px; background: #fff; }
.pa-info-card h2 { margin: 0 0 2px; font-size: 16px; line-height: 22px; font-weight: 800; }
.pa-info-card p { margin: 0 0 14px; color: #3f4148; font-size: 13px; line-height: 1.6; }
.pa-info-card .pa-info-subtitle { color: var(--pa-muted); font-size: 12.5px; margin-bottom: 18px; }
.pa-info-card ul { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.pa-info-card li { padding-left: 23px; background: url("../images/partner-application/check-green.svg") left 3px/14px no-repeat; font-size: 12.5px; line-height: 1.5; color: #3f4148; }
.pa-login-card { padding: 20px 22px; border-radius: 24px; background: #f3f1ec; }
.pa-login-card h2 { margin: 0 0 10px; font-size: 14px; line-height: 1.5; font-weight: 800; }
.pa-information { padding: 12px 14px; margin: 24px 0 0; border: 1px solid #b8d5ff; border-radius: 18px; background: #f4f8ff; color: #164f91; font-size: 12px; line-height: 1.6; }
.pa-field-error { margin: 6px 0 0; color: #b42318; font-size: 12px; line-height: 1.5; }
.pa-notice { padding: 16px 20px; margin: 0 0 24px; border: 1px solid #f4b9b4; border-radius: 18px; background: #fff5f3; color: #a32219; font-size: 13px; line-height: 1.6; }
.pa-notice p { margin: 4px 0 0; }
.pa-notice ul { margin: 8px 0 0; padding-left: 20px; }
.pa-uploads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.pa-upload { min-width: 0; padding: 18px; border: 1px solid var(--pa-line); border-radius: 20px; }
.pa-upload label { display: block; margin: 0 0 3px; font-size: 14px; font-weight: 800; }
.pa-upload > p:not(.pa-field-error) { color: var(--pa-muted); font-size: 11.5px; line-height: 1.5; margin: 0 0 10px; }
.pa-upload input { display: block; width: 100%; max-width: 100%; color: var(--pa-muted); font: 12px Manrope, sans-serif; border-radius: 10px; }
.pa-upload input::file-selector-button { min-height: 38px; margin-right: 8px; padding: 8px 14px; border: 1px solid #bfb8aa; border-radius: 99px; background: #fff; color: #15171c; cursor: pointer; font: 700 11px Manrope, sans-serif; }
.pa-file-list { display: grid; gap: 8px; margin-top: 10px; }
.pa-file-list:empty { display: none; }
.pa-file { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid #cce4c0; background: #f3f8ef; border-radius: 14px; }
.pa-file::before { content: ''; flex: 0 0 32px; height: 32px; background: #2d8015 url("../images/partner-application/document-check.svg") center/16px no-repeat; border-radius: 9px; }
.pa-file > span { min-width: 0; flex: 1; overflow-wrap: anywhere; font-size: 13px; font-weight: 600; }
.pa-file small { display: block; color: var(--pa-muted); font-size: 11px; font-weight: 400; }
.pa-file button { border: 0; background: transparent; min-width: 32px; min-height: 32px; border-radius: 50%; font-size: 22px; color: #3f4148; cursor: pointer; }
.pa-summary { border: 1px solid var(--pa-line); border-radius: 20px; overflow: hidden; }
.pa-summary section { padding: 18px; }
.pa-summary section + section { border-top: 1px solid #f1efea; }
.pa-summary header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pa-summary h3 { font-size: 11px; margin: 0; color: #6e6a62; font-weight: 800; letter-spacing: .55px; text-transform: uppercase; }
.pa-summary header button { margin: -8px -6px -8px 0; padding: 8px 6px; border: 0; background: transparent; font-size: 12px; color: #b43d0c; cursor: pointer; }
.pa-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; }
.pa-summary dt { color: var(--pa-muted); font-size: 12px; font-weight: 400; }
.pa-summary dd { margin: 2px 0 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
.pa-summary-categories { padding: 0; margin: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pa-summary-categories li { font-size: 12px; border: 1px solid var(--pa-line); border-radius: 99px; padding: 6px 10px; }
.pa-legal { padding-top: 26px; }
.pa-legal h3 { margin: 0 0 3px; font-size: 14px; font-weight: 800; }
.pa-legal > p { margin: 0 0 14px; color: var(--pa-muted); font-size: 12px; }
.pa-legal-item { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--pa-line); border-radius: 18px; margin-top: 12px; }
.pa-legal-item > div { flex: 1; min-width: 0; }
.pa-legal-item h4 { font-size: 13px; font-weight: 800; margin: 0 0 3px; }
.pa-legal-item p { font-size: 12px; color: var(--pa-muted); margin: 0; line-height: 1.5; }
.pa-legal-item .pa-field-error { margin-top: 8px; color: #bc2921; }
.pa-legal-status { background: #f3f1ec; padding: 5px 10px; border-radius: 99px; font-size: 11px; white-space: nowrap; }
.pa-legal-item.is-reviewed { border-color: #cce4c0; }
.pa-legal-item.is-reviewed .pa-legal-status { background: #edf6e8; color: #2d8015; }
.pa-page .recaptcha-box { margin-top: 24px; }
.pa-legal-dialog { padding: 0; width: min(720px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 1px solid #ece9e3; border-radius: 24px; background: #fff; color: #15171c; box-shadow: 0 24px 64px #15171c30; }
.pa-legal-dialog::backdrop { background: #15171c75; }
.pa-legal-dialog > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 26px; border-bottom: 1px solid #ece9e3; }
.pa-legal-dialog h2 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.pa-legal-dialog header p { margin: 0; color: #5c5e64; font-size: 12px; }
.pa-dialog-close { flex-shrink: 0; width: 36px; height: 36px; border: 1px solid #ece9e3; border-radius: 50%; background: #fff; font-size: 24px; cursor: pointer; }
.pa-reader-links { display: flex; flex-wrap: wrap; gap: 16px; padding: 12px 26px; font-size: 12px; }
.pa-reader-links a { color: #b43d0c; text-decoration: underline; }
.pa-reader-track { height: 3px; background: #ece9e3; }
.pa-reader-track > div { width: 0; height: 100%; background: #f47b1b; }
.pa-legal-reader { height: min(52vh, 500px); overflow: auto; overscroll-behavior: contain; padding: 24px 26px; font-size: 14px; line-height: 1.7; }
.pa-legal-reader :is(h1,h2,h3) { font-size: 18px; line-height: 1.4; margin: 20px 0 10px; }
.pa-legal-reader table { width: 100%; display: block; overflow-x: auto; }
.pa-legal-reader :is(td,th) { border: 1px solid #ece9e3; padding: 8px; }
.pa-legal-dialog footer { display: flex; align-items: center; gap: 16px; padding: 18px 26px; border-top: 1px solid #ece9e3; }
.pa-legal-dialog footer p { margin: 0; flex: 1; font-size: 12px; color: #5c5e64; }
.pa-footer { text-align: center; padding: 18px 24px; border-top: 1px solid #ece9e3; color: #5c5e64; font-size: 12px; background: #fdfcfa; }
.pa-footer [data-cookie-preferences] { border: 0; background: transparent; color: inherit; text-decoration: underline; cursor: pointer; margin-left: 12px; padding: 6px; }
/* Reuse the category tree's selection/search behavior with the Figma treatment. */
.pa-page .ctp-tree { max-height: 520px; border-radius: 20px; border-color: var(--pa-line); }
.pa-page .ctp-bar { margin-bottom: 14px; }
.pa-page .ctp-search { height: 42px; border-radius: 18px; border-color: var(--pa-line); padding: 0 14px; font-family: inherit; }
.pa-page .ctp-meta { padding: 6px 10px; color: #9f390b; background: #fff4eb; border-radius: 99px; }
.pa-page .ctp-meta:empty { display: none; }
.pa-page .ctp-meta::before { display: none; }
.pa-page .ctp-list > .ctp-node { border-bottom: 1px solid #f1efea; }
.pa-page .ctp-list > .ctp-node:last-child { border-bottom: 0; }
.pa-page .ctp-list > .ctp-node > .ctp-row { padding: 12px 16px; min-height: 60px; gap: 12px; }
.pa-page .ctp-toggle { order: 2; width: 32px; height: 32px; margin-left: auto; }
.pa-page .ctp-toggle i { display: none; }
.pa-page .ctp-toggle::after { content: '›'; font: 22px Manrope, sans-serif; transform: rotate(90deg); }
.pa-page .is-collapsed > .ctp-row .ctp-toggle::after { transform: rotate(0); }
.pa-page .ctp-leaf { display: none; }
.pa-page .ctp-label { flex: 1; gap: 12px; margin: 0; }
.pa-page .ctp-checkbox { width: 18px; height: 18px; accent-color: var(--pa-brand); }
.pa-page .ctp-children { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 18px 52px; }
.pa-page .is-collapsed > .ctp-children { display: none; }
.pa-page .ctp-children .ctp-row { border: 1px solid var(--pa-line); border-radius: 99px; padding: 6px 12px; font-size: 12px; }
.pa-page .ctp-row.is-selected { background: #fff4eb; color: #9f390b; }
.pa-page .ctp-children .ctp-checkbox { width: 13px; height: 13px; }
@media (max-width: 1050px) {
    .pa-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
    .pa-panel { padding: 24px; }
    .pa-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pa-legal-item { flex-wrap: wrap; }
    .pa-legal-item > div { flex-basis: 100%; }
}
@media (max-width: 800px) {
    .pa-layout { grid-template-columns: minmax(0, 1fr); }
    .pa-aside { position: static; }
    .pa-heading h1 { font-size: 26px; }
}
@media (max-width: 520px) {
    .pa-page { padding: 28px 16px 40px; }
    .pa-heading h1 { font-size: 24px; }
    .pa-heading p { font-size: 13px; }
    .pa-panel { padding: 22px 18px; border-radius: 20px; }
    .pa-panel-heading h2 { font-size: 18px; }
    .pa-steps { padding: 14px; }
    .pa-steps button { min-height: 44px; gap: 8px; }
    .pa-steps strong { font-size: 12px; }
    .pa-fields, .pa-fields--address, .pa-uploads, .pa-summary-grid { grid-template-columns: minmax(0, 1fr); }
    .pa-company-types > div { display: grid; grid-template-columns: 1fr; }
    .pa-company-types label { min-height: 60px; }
    .pa-actions { flex-wrap: wrap; }
    .pa-button { padding: 10px 18px; }
    .pa-page .ctp-children { padding-left: 18px; }
    .pa-legal-dialog > header, .pa-legal-dialog footer, .pa-legal-reader { padding: 18px; }
    .pa-legal-dialog footer { flex-direction: column; align-items: stretch; }
    .pa-legal-reader { height: 45vh; }
}
@media (prefers-reduced-motion: reduce) { .pa-page *, .pa-legal-dialog * { scroll-behavior: auto !important; } }
