/* edra Salon's entry pages: /salon/kayit, /salon/giris, /salon-basvuru/{venue}. On top of assets/site/site.css
   (tokens, .btn, .field, .input, .check). Class prefix: sa-. Phone first; two columns from 980px. */

.sa { background: #fff; min-height: 100vh; display: flex; flex-direction: column; }

/* top bar: the edra Salon mark and one switch (Giriş yap ↔ Hesap oluştur) */
.sa-top { border-bottom: 1px solid var(--line); background: #fff; }
.sa-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100% - 32px, 1180px); margin-inline: auto; height: 60px; }
.sa-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.sa-brand img { height: 24px; width: auto; }
.sa-brand span { padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.sa-switch { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); }
.sa-switch:hover { border-color: var(--ink); }

.sa-main { flex: 1; display: grid; gap: 28px; width: min(100% - 32px, 1180px); margin-inline: auto; padding: 24px 0 48px; align-items: start; }
@media (min-width: 980px) {
  .sa-main.has-aside { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 56px; padding: 48px 0 72px; }
}
.sa-card { width: 100%; max-width: 560px; justify-self: center; }
.sa-main:not(.has-aside) .sa-card { max-width: 680px; }

.sa-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.sa-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--gul); }
.sa-title { margin-top: 10px; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 7vw, 44px); line-height: 1.02; letter-spacing: -.035em; }
.sa-lead { margin-top: 10px; color: var(--mute); font-size: 16px; line-height: 1.55; }
.sa-flash { margin-bottom: 16px; padding: 12px 16px; border-radius: 16px; background: #EAF7EE; color: #17643A; font-weight: 600; font-size: 14.5px; }
.sa-alert { padding: 12px 16px; border-radius: 16px; background: #FDECEC; color: #9B1C1C; font-weight: 600; font-size: 14.5px; }
.sa-alert a { color: inherit; }

/* the form: numbered blocks (Siz / İşletmeniz) */
.sa-form { display: grid; gap: 22px; margin-top: 24px; }
.sa-block { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 22px; }
.sa-block-head { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.sa-block-head b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.sa-block-head small { margin-left: auto; color: var(--mute); font-weight: 600; font-size: 12.5px; }
.sa-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .sa-row { grid-template-columns: 1fr 1fr; } }
.sa .input, .sa select.input { height: 52px; font-size: 16px; } /* 16px: no zoom on iOS */
.sa .field .error a { color: inherit; font-weight: 800; }
.sa-pass { position: relative; }
.sa-pass .input { padding-right: 88px; }
.sa-pass button { position: absolute; right: 6px; top: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--soft); font-weight: 700; font-size: 13px; cursor: pointer; }
.sa-checks { display: grid; gap: 10px; }
.sa .check { color: var(--ink); line-height: 1.45; }
.sa .check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--ink); }
.sa .check a { font-weight: 700; }
.sa-submit { width: 100%; height: 54px; font-size: 16px; }
.sa-fine { color: var(--mute); font-size: 13px; line-height: 1.5; text-align: center; }
.sa-alt { margin-top: 20px; text-align: center; color: var(--mute); font-size: 15px; }
.sa-alt a { color: var(--ink); font-weight: 800; }
.sa-row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sa-row-between a { font-size: 14px; font-weight: 700; }
.sa .google-auth { margin-top: 24px; }

/* side panel: what edra Salon does (desktop beside the form, phones below it without the screenshot) */
.sa-aside { position: relative; overflow: hidden; padding: 26px 22px; border-radius: 28px; background: var(--soft); }
.sa-aside-title { margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.05; letter-spacing: -.035em; max-width: 13em; }
.sa-aside-title span { color: var(--gul); }
.sa-points { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.sa-points li { display: grid; gap: 2px; padding-left: 28px; position: relative; }
.sa-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23a65866'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sa-points b { font-size: 15.5px; }
.sa-points span { color: var(--mute); font-size: 14.5px; line-height: 1.45; }
.sa-phone { display: none; }
@media (min-width: 980px) {
  .sa-aside { position: sticky; top: 32px; padding: 40px 36px 0; min-height: 640px; }
  .sa-phone { display: block; margin: 28px auto 0; width: 62%; border: 7px solid var(--ink); border-bottom: 0; border-radius: 34px 34px 0 0; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(17, 16, 20, .55); }
  .sa-phone img { width: 100%; height: auto; border-radius: 27px 27px 0 0; }
}

/* application page ("Başvurunuz inceleniyor") */
.sa-status { display: grid; gap: 14px; padding: 22px; border-radius: 24px; background: #FFF6E5; border: 1px solid #F5DDAE; }
.sa-status.is-rejected { background: #FDECEC; border-color: #F4C7C7; }
.sa-status-head { display: flex; align-items: center; gap: 12px; }
.sa-status-head svg { width: 30px; height: 30px; flex: none; color: #B7791F; }
.sa-status.is-rejected .sa-status-head svg { color: #C0262D; }
.sa-status h1 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 6vw, 36px); line-height: 1.05; letter-spacing: -.03em; }
.sa-status p { color: #4a4750; line-height: 1.55; }
.sa-steps { list-style: none; display: grid; gap: 0; margin-top: 6px; }
.sa-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 10px 0; border-top: 1px dashed #E8D2A6; font-size: 14.5px; }
.sa-steps li:first-child { border-top: 0; }
.sa-steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; font-style: normal; font-weight: 800; font-size: 12px; }
.sa-steps li.is-done i { background: #22a04b; color: #fff; }
.sa-summary { margin-top: 22px; display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
@media (min-width: 560px) { .sa-summary { grid-template-columns: 1fr 1fr; } }
.sa-summary div { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sa-summary dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.sa-summary dd { margin-top: 2px; font-weight: 700; font-size: 15.5px; overflow-wrap: anywhere; }
.sa-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sa-contact .btn { flex: 1 1 200px; }
.sa-edit { margin-top: 22px; border: 1px solid var(--line); border-radius: 22px; }
.sa-edit summary { cursor: pointer; padding: 16px 18px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.sa-edit summary::-webkit-details-marker { display: none; }
.sa-edit summary::after { content: "+"; font-size: 22px; font-weight: 400; }
.sa-edit[open] summary::after { content: "–"; }
.sa-edit form { display: grid; gap: 14px; padding: 0 18px 18px; }
.sa-logout { margin-top: 18px; text-align: center; }
.sa-logout button { background: none; border: 0; color: var(--mute); font-weight: 700; text-decoration: underline; cursor: pointer; }

.sa-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; padding: 22px 16px 28px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }
.sa-foot a { color: inherit; }
.sa-maker { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.sa-maker img { display: block; height: 22px; width: auto; max-width: 80px; opacity: .7; transition: opacity .2s; position: relative; top: -2px; }
.sa-maker:hover img, .sa-maker:focus-visible img { opacity: 1; }
