/* Dedicated, responsive account creation page. Loaded after app.css. */
.register-body {
  min-height: 100vh;
  padding: 0 28px;
  background:
    radial-gradient(ellipse at 9% 16%, color-mix(in srgb, var(--blue) 8%, transparent), transparent 34%),
    radial-gradient(ellipse at 92% 78%, color-mix(in srgb, var(--cyan) 7%, transparent), transparent 32%),
    var(--bg);
  color: var(--text);
}

.register-topbar {
  width: min(1320px, 100%);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
}

.register-topbar .brand { flex: 0 0 auto; }
.register-top-actions { display: flex; align-items: center; gap: 17px; }
.register-login-link { color: var(--muted); font-size: 13px; white-space: nowrap; }
.register-login-link b { margin-left: 5px; color: var(--blue); }
.register-theme-toggle { flex: 0 0 42px; width: 42px; height: 42px; }
.register-theme-toggle .cc-icon { width: 19px; height: 19px; }

.register-shell {
  width: min(1240px, 100%);
  min-height: calc(100vh - 145px);
  margin: 0 auto;
  padding: 40px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(42px, 6.2vw, 88px);
}

.register-intro { min-width: 0; animation: register-enter .45s ease-out both; }
.register-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.register-kicker .pulse-dot { width: 8px; height: 8px; }
.register-intro h1 {
  margin: 22px 0 15px;
  font-size: clamp(44px, 5vw, 64px);
  letter-spacing: -.065em;
  line-height: 1.06;
}
.register-intro h1 em { color: var(--blue); font-style: normal; }
.register-intro-text { max-width: 470px; color: var(--muted); font-size: 15px; line-height: 1.8; }

.register-benefits {
  display: grid;
  gap: 14px;
  margin: 25px 0 22px;
  padding: 0;
  list-style: none;
}
.register-benefits li { display: flex; align-items: center; gap: 12px; }
.register-benefit-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--blue) 12%, var(--line));
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}
.register-benefit-icon .cc-icon { width: 17px; height: 17px; }
.register-benefits b, .register-benefits small { display: block; }
.register-benefits b { font-size: 12px; }
.register-benefits small { margin-top: 2px; font-size: 11px; }

.register-preview {
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid color-mix(in srgb, var(--blue) 14%, var(--line));
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(27, 62, 109, .08);
}
.register-preview-top {
  min-height: 43px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
.register-preview-dots { display: flex; gap: 5px; }
.register-preview-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.register-preview-dots i:first-child { background: #f19a91; }
.register-preview-dots i:nth-child(2) { background: #f2c56e; }
.register-preview-dots i:nth-child(3) { background: #72c89c; }
.register-preview-status { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.register-preview-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.register-preview-main { padding: 16px 18px 17px; }
.register-preview-storage { display: flex; align-items: center; gap: 12px; }
.register-preview-cloud {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--blue-soft);
  color: var(--blue);
}
.register-preview-cloud .cc-icon { width: 23px; height: 23px; }
.register-preview-storage small, .register-preview-storage b { display: block; }
.register-preview-storage small { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.register-preview-storage b { margin-top: 3px; font: 800 17px/1.2 var(--head); }
.register-preview-storage em { margin-left: 4px; color: var(--green); font: 700 10px var(--font); }
.register-preview-meter { height: 6px; overflow: hidden; margin-top: 14px; border-radius: 99px; background: var(--surface-3); }
.register-preview-meter span { display: block; width: 4%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2182f2, #21b2cc); }
.register-preview-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; color: var(--muted); font-size: 9px; }
.register-preview-meta b { color: var(--text); font-size: 9px; }
.register-preview-categories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 15px; }
.register-preview-categories span { min-width: 0; display: flex; align-items: center; gap: 7px; padding: 9px 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.register-preview-categories i { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: var(--blue-soft); color: var(--blue); font-style: normal; }
.register-preview-categories i.documents { background: color-mix(in srgb, var(--violet) 12%, var(--surface)); color: var(--violet); }
.register-preview-categories i.notes { background: color-mix(in srgb, var(--cyan) 12%, var(--surface)); color: var(--cyan); }
.register-preview-categories .cc-icon { width: 14px; height: 14px; }
.register-tagline { margin-top: 15px; color: var(--muted); font-size: 10px; letter-spacing: .015em; }

.register-panel {
  width: 100%;
  max-width: 650px;
  justify-self: end;
  padding: clamp(25px, 3vw, 37px);
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 75px rgba(25, 54, 94, .11);
  animation: register-enter .5s .05s ease-out both;
}
.register-panel-head { margin-bottom: 22px; }
.register-panel-head .eyebrow { font-size: 10px; letter-spacing: .14em; }
.register-panel-head h2 { margin: 8px 0 6px; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.05em; }
.register-panel-head p { color: var(--muted); font-size: 13px; }
.register-form { display: grid; gap: 15px; }
.register-field { min-width: 0; display: flex; flex-direction: column; gap: 7px; color: var(--text); font-size: 12px; font-weight: 700; }
.register-panel .form-stack .register-field { font-size: 12px; }
.register-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.register-field input:not([type="checkbox"]), .register-field select {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.register-field input::placeholder { color: #9aa8ba; opacity: 1; }
.register-field input:focus, .register-field select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 13%, transparent); }
.register-field select { cursor: pointer; }
.register-field>small { color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1.5; }
.password-control { position: relative; display: flex; align-items: center; }
.password-control input { padding-right: 67px !important; }
.password-control button {
  position: absolute;
  right: 9px;
  padding: 6px 7px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.password-control button:hover { background: var(--blue-soft); }
.password-control button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent-box { margin-top: 1px; padding: 12px 13px; border-radius: 11px; background: var(--surface-2); }
.consent-single { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.55; }
.register-form .consent-single input {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  min-height: 17px;
  margin: 1px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.consent-single a { color: var(--blue); font-weight: 700; }
.consent-single a:hover { text-decoration: underline; }
.register-submit { min-height: 51px; border-radius: 12px; font-size: 14px; }
.register-submit span { font-size: 18px; transition: transform .18s; }
.register-submit:hover span { transform: translateX(3px); }
.register-mobile-login { display: none; }
.register-footer {
  width: min(1320px, 100%);
  min-height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  color: var(--muted);
  font-size: 10px;
}
.register-footer span:last-child { text-align: right; }
.register-panel .alert { margin-bottom: 15px; font-size: 12px; }

@keyframes register-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
  .register-body { padding: 0 22px; }
  .register-shell { gap: 34px; }
  .register-intro h1 { font-size: clamp(40px, 5vw, 53px); }
  .register-preview-categories { gap: 5px; }
  .register-preview-categories span { padding: 7px 6px; font-size: 8px; }
  .register-panel { padding: 27px; }
}

@media (max-width: 820px) {
  .register-body { padding: 0 20px; }
  .register-topbar { min-height: 72px; }
  .register-shell { width: min(640px, 100%); min-height: auto; padding: 31px 0 36px; grid-template-columns: 1fr; gap: 25px; }
  .register-intro h1 { margin: 16px 0 10px; font-size: clamp(38px, 8vw, 50px); }
  .register-intro-text { max-width: 560px; font-size: 14px; }
  .register-benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 18px 0; }
  .register-benefits li { align-items: flex-start; gap: 8px; }
  .register-benefit-icon { flex-basis: 32px; width: 32px; height: 32px; border-radius: 10px; }
  .register-benefit-icon .cc-icon { width: 15px; height: 15px; }
  .register-benefits b { font-size: 10px; }
  .register-benefits small { font-size: 9px; }
  .register-preview { display: none; }
  .register-tagline { display: none; }
  .register-panel { max-width: none; justify-self: stretch; }
  .register-footer { min-height: 45px; }
}

@media (max-width: 560px) {
  .register-body { padding: 0 15px; }
  .register-topbar { min-height: 65px; gap: 10px; }
  .register-topbar .brand { gap: 8px; }
  .register-topbar .brand-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 20px; }
  .register-topbar .brand b { font-size: 15px; }
  .register-topbar .brand small { font-size: 9px; }
  .register-top-actions { gap: 8px; }
  .register-login-link { font-size: 10px; }
  .register-login-link b { margin-left: 2px; }
  .register-theme-toggle { flex-basis: 36px; width: 36px; height: 36px; }
  .register-shell { padding: 24px 0 28px; gap: 19px; }
  .register-kicker { padding: 7px 10px; font-size: 10px; }
  .register-intro h1 { font-size: 37px; }
  .register-intro-text { font-size: 12px; line-height: 1.65; }
  .register-benefits { grid-template-columns: 1fr; gap: 9px; margin: 15px 0 0; }
  .register-benefits li { align-items: center; }
  .register-benefits b { font-size: 11px; }
  .register-benefits small { font-size: 10px; }
  .register-panel { padding: 23px 18px; border-radius: 19px; }
  .register-panel-head { margin-bottom: 18px; }
  .register-panel-head h2 { font-size: 26px; }
  .register-panel-head p { font-size: 12px; }
  .register-form { gap: 13px; }
  .register-field-grid { grid-template-columns: 1fr; gap: 13px; }
  .register-field { font-size: 11px; }
  .register-field input:not([type="checkbox"]), .register-field select { min-height: 46px; font-size: 13px; }
  .consent-box { padding: 11px; }
  .consent-single { font-size: 10px; }
  .register-submit { min-height: 49px; font-size: 12px; }
  .register-mobile-login { display: block; margin-top: 15px; color: var(--muted); text-align: center; font-size: 11px; }
  .register-mobile-login a { color: var(--blue); font-weight: 700; }
  .register-footer { min-height: 42px; font-size: 9px; }
  .register-footer span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .register-intro, .register-panel { animation: none; }
  .register-body *, .register-body *::before, .register-body *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* CENTRAL CLOUD — sade kayıt ekranı */
.register-body { background: var(--bg); }
.register-topbar { min-height: 76px; border-bottom-color: var(--line); }
.register-topbar .brand-mark { box-shadow: none; }
.register-intro,
.register-panel { animation: none; }
.register-intro h1 { font-size: clamp(35px, 4.4vw, 54px); font-weight: 650; letter-spacing: -.05em; }
.register-intro-text { font-size: 14px; line-height: 1.72; }
.register-kicker { border-color: var(--line); background: var(--surface); box-shadow: none; }
.register-benefits { gap: 11px; }
.register-benefit-icon { border: 0; border-radius: 11px; box-shadow: none; }
.register-preview {
  border-color: var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: none;
}
.register-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(60, 64, 67, .12);
}
.register-panel::before { display: none; }
.register-panel-head h2 { font-size: 28px; font-weight: 650; }
.register-field input:not([type="checkbox"]),
.register-field select {
  min-height: 47px;
  border-radius: 10px;
  background: var(--surface);
}
.register-field input:focus,
.register-field select:focus { box-shadow: 0 0 0 2px color-mix(in srgb, var(--blue) 24%, transparent); }
.consent-box { border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.register-panel .register-submit {
  min-height: 49px;
  border-radius: 999px;
  background: var(--action-blue);
  box-shadow: none;
}
.register-panel .register-submit:hover { background: var(--action-blue-2); box-shadow: none; }
.register-footer { border-top-color: var(--line); }
@media (max-width: 820px) {
  .register-topbar { min-height: 70px; }
}
@media (max-width: 560px) {
  .register-topbar { min-height: 64px; }
  .register-panel { border-radius: 18px; }
}

/* CENTRAL CLOUD — sade ve alışıldık hesap oluşturma */
.register-body { background: var(--bg); }
.register-body::before, .register-intro::before, .register-intro::after { display: none; }
.register-topbar { min-height: 70px; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: none; }
.register-topbar .brand-mark { width: 36px; height: 36px; border-radius: 9px; background: #1a73e8; }
.register-intro h1 { font-size: clamp(33px,4vw,47px); font-weight: 600; letter-spacing: -.045em; }
.register-intro-text { font-size: 13px; line-height: 1.7; }
.register-kicker { border-radius: 8px; }
.register-benefit-icon { width: 35px; height: 35px; border-radius: 9px; }
.register-preview, .register-panel { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--panel-shadow); }
.register-panel { padding: clamp(23px,3vw,32px); }
.register-panel::before { display: none; }
.register-panel-head h2 { font-size: 25px; font-weight: 600; letter-spacing: -.025em; }
.register-field input:not([type="checkbox"]), .register-field select { min-height: 45px; border-radius: 8px; }
.consent-box { border-radius: 9px; background: var(--surface-2); }
.register-panel .register-submit { min-height: 46px; border-radius: 999px; box-shadow: none; }
.register-footer { background: var(--surface); }
@media (max-width: 560px) {
  .register-topbar { min-height: 62px; }
  .register-panel { padding: 20px 16px; border-radius: 12px; }
}
