/* Auth override theme (register+login) */
*{box-sizing:border-box}html,body{height:100%}body{margin:0;background:#f6f7f9;font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Inter,Ubuntu,"Helvetica Neue",Arial}
.breadcrumb,.breadcrumbs,footer,#footer,.footer{display:none!important}
.auth-brand{position:fixed;left:26px;top:18px;z-index:1000;display:block}
.auth-brand img{height:30px;width:auto;display:block}
.wrap{min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:90px 16px 40px}
.card{width:100%;max-width:560px;background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.06);padding:18px 18px 24px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}
.auth-tab{height:36px;border-radius:5px;border:1px solid #e6e9ec;background:#f4f6f8;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;color:#3b4556;text-decoration:none}
.auth-tab.active{background:#eafaf0;border-color:#22c55e;color:#15803d}
.group{margin-bottom:12px}
label{display:block;font-size:12px;margin-bottom:6px;color:#5b6778}
input[type="text"],input[type="email"],input[type="tel"],input[type="password"],select,textarea{width:100%;height:44px;border:1px solid #e5e7eb;border-radius:5px;padding:0 12px;background:#fff}
textarea{height:auto;min-height:80px;padding-top:8px;padding-bottom:8px}
input:focus,select:focus,textarea:focus{border-color:#22c55e;outline:none;box-shadow:0 0 0 3px rgba(34,197,94,.16)}
#input-email,input[name="email"]{background:#ffffff}
.radios label{display:flex;align-items:center;gap:8px;margin:6px 0}
.auth-phone{display:flex}
.auth-phone .cc{display:flex;align-items:center;gap:8px;min-width:110px;padding:0 10px;border:1px solid #e5e7eb;border-right:0;border-radius:5px 0 0 5px;background:#fff;font-weight:600;color:#111827}
.auth-phone .cc .flag{width:22px;height:16px;display:inline-block;background:#e30a17;border-radius:2px;position:relative;overflow:hidden}
.auth-phone .cc .flag:before{content:"";position:absolute;left:5px;top:50%;width:9px;height:9px;border-radius:50%;background:#fff;transform:translateY(-50%)}
.auth-phone .cc .flag:after{content:"";position:absolute;left:7px;top:50%;width:7px;height:7px;border-radius:50%;background:#e30a17;transform:translateY(-50%)}
.auth-phone .pin{flex:1}
.auth-phone .pin input{border-left:0;border-radius:0 5px 5px 0}
.auth-eye-wrap{position:relative}
.auth-eye-btn{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:0;background:transparent;cursor:pointer;color:#6b7280}
.alert{padding:10px 12px;border-radius:10px;background:#fef2f2;border:1px solid #fecaca;color:#991b1b;margin-bottom:12px}
.err{color:#dc2626;font-size:12px;margin-top:6px;display:block}
.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;height:46px;cursor:pointer}
.btn-primary{background:#111;color:#fff;width:100%;font-weight:700}
.note{font-size:13px;margin-top:10px}
.footnote{margin-top:8px;text-align:right}
.auth-modal{position:fixed;inset:0;display:none;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.45);z-index:9999;padding:20px}
.auth-modal.open{display:flex}
.auth-sheet{width:100%;max-width:720px;background:#fff;border-radius:14px;box-shadow:0 20px 40px rgba(0,0,0,.18);overflow:hidden;display:flex;flex-direction:column;max-height:92vh}
.auth-sheet header{padding:12px 14px;border-bottom:1px solid #eef1f4;font-weight:700}
.auth-sheet .content{flex:1;overflow:auto}
.auth-sheet iframe{width:100%;height:70vh;border:0;display:block}
.auth-close{position:absolute;right:22px;top:18px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;height:36px;padding:0 12px;display:flex;align-items:center;cursor:pointer}

/* inline error helpers */
.group .text-danger{color:#d93025;font-size:.875rem;margin-top:6px}
.input-error{border-color:#d93025 !important; box-shadow:0 0 0 2px rgba(217,48,37,.08)}
/* pasif buton fark edilsin */
.is-disabled,
button[disabled], input[type="submit"][disabled] {
  opacity: .6; cursor: not-allowed; pointer-events: none;
}
