/* =====================================================
   BTSH – REGISTRATION (ENTERPRISE AUTH)
===================================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-light: #ffffff;
    --bg-soft: #f1f5f9;
    --border-soft: #e5e7eb;
    --danger: #dc2626;
    --radius: 14px;
    --shadow-soft: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Inter, Helvetica, Arial, sans-serif;
    background: var(--bg-soft);
    color: var(--text-main);
}

/* --------------------
     SHELL
  -------------------- */
.reg-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 420px 1fr;
}

/* --------------------
     BRAND PANEL
  -------------------- */
.reg-brand {
    background: linear-gradient(160deg, #1e40af, #2563eb);
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.btsh-auth-logo img {
    height: 40px;
    margin-bottom: 24px;
}

.reg-brand p {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.6;
}

.reg-note {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
}

.reg-note h4 {
    margin: 0 0 8px;
    font-size: 14px;
}

.reg-note p {
    font-size: 13px;
    opacity: 0.95;
}

/* --------------------
     FORM PANEL
  -------------------- */
.reg-form {
    background: #fff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reg-form h2 {
    font-size: 32px;
    margin-bottom: 6px;
}

.reg-form .sub {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* --------------------
     FIELDS
  -------------------- */
.field {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.field label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.field input,
.field select {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    font-size: 14px;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--primary);
}

/* --------------------
     ROLE SECTIONS
  -------------------- */
.role-only {
    display: none;
    margin-top: 8px;
}

.hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* --------------------
     BUTTON
  -------------------- */
.btn {
    margin-top: 16px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
}

.btn.primary:hover {
    background: var(--primary-dark);
}

/* --------------------
     FOOTER TEXT
  -------------------- */
.alt {
    margin-top: 20px;
    font-size: 14px;
}

.alt a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

/* --------------------
     ERROR
  -------------------- */
.error {
    margin-top: 14px;
    font-size: 13px;
    color: var(--danger);
}

/* --------------------
     RESPONSIVE
  -------------------- */
@media (max-width: 900px) {
    .reg-shell {
        grid-template-columns: 1fr;
    }

    .reg-brand {
        display: none;
    }

    .reg-form {
        padding: 40px 26px;
    }
}

.password-wrap {
    position: relative;
    width: 100%;
}

.password-wrap input {
    width: 100%;
    padding-right: 70px;
}

.toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
}

.toggle-pass:hover {
    color: #333;
}

.password-wrap {
    position: relative;
    width: 100%;
}

.password-wrap input {
    width: 100%;
    padding-right: 70px;
}

.toggle-pass {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
}

.toggle-pass:hover {
    color: #222;
}