/* Giriş ekranı (bölünmüş ekran). Tasarım: Claude Design. Uygulamanın ana stilinden bağımsızdır. */
* { box-sizing: border-box; }
body { margin: 0; background: #FFF7EE; color: #2B1B12; font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, p { margin: 0; }
[hidden] { display: none !important; }

.login-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-wrap: wrap; background: #FFF7EE; }

/* Marka paneli: depo rafı */
.brand-panel { flex: 1 1 580px; min-height: 320px; padding: 44px 48px; background: #F97316; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: #EA580C; }
.brand { position: relative; display: flex; align-items: center; gap: 12px; font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: #2B1B12; text-decoration: none; }
.shelf { position: relative; align-self: center; width: 100%; max-width: 520px; }
.shelf svg { display: block; width: 100%; height: auto; }
.callout { position: absolute; left: 50%; top: 20%; width: min(250px, 55%); background: #2B1B12; color: #FFF7EE; border-radius: 16px; padding: 12px 14px; box-shadow: 0 16px 30px rgba(76, 22, 6, .4); transform: rotate(2deg); }
.callout-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.callout-top span { font-size: 10.5px; color: #E9CDB5; }
.callout-top b { padding: 1px 7px; border-radius: 999px; background: #EA580C; color: #fff; font-size: 10px; font-weight: 700; white-space: nowrap; }
.callout-name { font-size: 13px; font-weight: 700; line-height: 1.35; }
.callout-code { font-size: 11px; color: #FFD8B5; margin-top: 4px; }
.spacer { position: relative; height: 1px; }

/* Form tarafı */
.form-side { flex: 1 1 480px; padding: 56px 24px; display: flex; align-items: center; justify-content: center; }
.form-wrap { width: 100%; max-width: 400px; display: flex; flex-direction: column; gap: 28px; }
.heading { display: flex; flex-direction: column; gap: 12px; }
.tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #FFE4CC; color: #9A3412; font-size: 13px; font-weight: 700; }
h1 { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-size: clamp(40px, 7vw, 56px); line-height: .98; letter-spacing: -.04em; }
.heading p { font-size: 17px; line-height: 1.55; color: #6E5546; }
.error { padding: 12px 16px; border-radius: 14px; background: #FDE8E1; color: #9A2A0B; font-size: 15px; font-weight: 600; line-height: 1.4; }

form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 14px; font-weight: 700; }
input[type=text], input[type=password] { width: 100%; height: 56px; padding: 0 18px; border: 0; border-radius: 14px; background: #FCEBD9; font: 500 16px "DM Sans", system-ui, sans-serif; color: #2B1B12; }
input:focus { outline: none; background: #FFFFFF; box-shadow: inset 0 0 0 2px #EA580C; }
button { margin-top: 10px; width: 100%; min-height: 58px; border: 0; border-radius: 14px; background: #2B1B12; color: #FFF7EE; font: 700 17px "DM Sans", system-ui, sans-serif; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; }
button:hover { background: #4A2E1E; }
button:focus-visible { outline: 3px solid #EA580C; outline-offset: 3px; }
button span { width: 34px; height: 34px; border-radius: 50%; background: #EA580C; display: flex; align-items: center; justify-content: center; }

/* Telefonda marka paneli üstte ince bir şerit olur */
@media (max-width: 760px) {
  .login-page { align-content: flex-start; }
  .brand-panel { min-height: 0; padding: 20px 24px; gap: 0; flex: 0 0 auto; width: 100%; }
  .shelf, .spacer, .floor { display: none; }
  .form-side { flex: 1 1 100%; padding: 36px 24px 48px; align-items: flex-start; }
}
