/* Bordro360 ortak cam efektli kimlik ekranları */
html { min-height:100%; background:#071426; color-scheme:dark; }
body {
  min-height:100vh; min-height:100svh; margin:0;
  display:flex; flex-direction:column; align-items:center;
  padding:clamp(1rem,4vh,2.5rem) 1rem;
  color:#f8fafc; background:#071426; isolation:isolate;
}
body::before {
  content:""; position:fixed; inset:0; z-index:-2; pointer-events:none;
  background:url("../images/auth-industrial-dusk.webp") center center / cover no-repeat;
}
body::after {
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg,rgba(4,12,25,.32),rgba(4,12,25,.5));
}
.auth-wrap { width:100%; max-width:480px; min-width:0; margin-block:auto; }
.auth-brand { display:flex; align-items:center; justify-content:center; gap:.75rem; margin-bottom:1rem; text-shadow:0 2px 12px rgba(0,0,0,.6); }
.auth-brand img { width:40px; height:40px; border-radius:10px; flex-shrink:0; }
.auth-brand-name { max-width:16ch; line-height:1.15; text-wrap:balance; font-size:1.25rem; font-weight:700; letter-spacing:.02em; }
.auth-brand-caption { font-size:.75rem; color:#cbd5e1; }
.auth-card {
  background:rgba(12,25,43,.86) !important;
  border:1px solid rgba(255,255,255,.24) !important;
  border-radius:20px !important;
  box-shadow:0 24px 70px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.09) !important;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .auth-card { background:rgba(12,25,43,.57) !important; backdrop-filter:blur(22px) saturate(120%); -webkit-backdrop-filter:blur(22px) saturate(120%); }
}
.auth-card .card-body { padding:1.6rem !important; min-width:0; }
.auth-card .card-body > .d-flex > div:last-child { min-width:0; }
.auth-card h1 { font-size:1.4rem; letter-spacing:-.02em; }
.auth-icon {
  width:44px; height:44px; border-radius:12px; display:flex;
  align-items:center; justify-content:center; flex-shrink:0;
  background:rgba(96,165,250,.12); border:1px solid rgba(147,197,253,.22);
}
.auth-icon i { font-size:1.25rem; color:#93c5fd; }
.auth-card .form-label { font-size:.82rem; font-weight:600; color:#dbe5f2; margin-bottom:.4rem; }
.auth-card .soft-text { color:#c3d0df !important; }
.auth-card :is(.form-control,.form-select,.input-group-text,.btn-eye) {
  background-color:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.24); color:#f8fafc;
  min-height:44px; border-radius:10px;
}
.auth-card :is(.form-control,.form-select) { font-size:.94rem; min-width:0; }
.auth-card .form-select option { background:#15283e; color:#f8fafc; }
.auth-card .input-group { align-items:stretch; }
.auth-card .input-group > .input-group-text { border-right:0; border-radius:10px 0 0 10px !important; color:#b6c7dc; }
.auth-card .input-group > .form-control { border-left:0; border-radius:0 10px 10px 0; }
.auth-card .input-group > .form-control:not(:last-child) { border-radius:0; }
.auth-card .input-group > :is(.btn-eye,button.input-group-text) {
  border-left:0; border-right:1px solid rgba(255,255,255,.24);
  border-radius:0 10px 10px 0 !important; min-width:44px; padding:.4rem .65rem;
}
.auth-card :is(.form-control,.form-select):focus {
  background-color:rgba(255,255,255,.09); border-color:#93c5fd;
  box-shadow:0 0 0 3px rgba(147,197,253,.13); color:#fff;
}
.auth-card .input-group:focus-within > :is(.input-group-text,.btn-eye) { border-color:#93c5fd; }
.auth-card .input-group > .form-control:focus { box-shadow:none; }
.auth-card .is-invalid { border-color:#f87171 !important; }
.auth-card ::placeholder { color:#aab9cd !important; opacity:1; }
.auth-card .btn-eye:hover { background-color:rgba(255,255,255,.12); }
.btn-auth {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:46px; border-radius:10px; font-weight:600; padding:.65rem 1rem;
  box-shadow:0 5px 18px rgba(0,0,0,.2); line-height:1.5;
}
.btn-auth.app-save-btn { gap:.35rem; }
.mini-link {
  display:flex; align-items:center; justify-content:center; gap:.5rem;
  min-height:44px; padding:.65rem .75rem; border-radius:10px;
  background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.16);
  color:#dbe5f2; text-decoration:none; font-size:.82rem; text-align:center; line-height:1.5;
}
.mini-link:hover { color:#fff; background:rgba(255,255,255,.09); border-color:rgba(255,255,255,.28); }
.mini-link .bi { flex-shrink:0; }
:is(.mini-link,.btn-eye,.btn-auth):focus-visible { outline:2px solid #93c5fd; outline-offset:3px; }
.auth-footer { text-align:center; margin-top:1rem; font-size:.7rem; color:#b4c3d6; text-shadow:0 1px 6px #071426; }
.auth-footer a { color:#d1ddea; text-decoration:none; }
.auth-card :is(.alert,.invalid-feedback) { overflow-wrap:anywhere; }
@media(max-width:575.98px) {
  body { padding:1.1rem .75rem; }
  .auth-card { border-radius:16px !important; }
  .auth-card .card-body { padding:1.15rem !important; }
  .auth-card h1 { font-size:1.2rem; }
  .auth-brand { margin-bottom:.8rem; }
  .auth-brand-name { max-width:16ch; line-height:1.15; text-wrap:balance; font-size:1.1rem; }
  .auth-card .form-control,.auth-card .form-select { font-size:16px; }
}
