/*
 * Africa Safari Connect — operator authentication shell.
 * Extracted from the historical marketplace bundle so login/register styling
 * can stay global without loading hundreds of KB of legacy page CSS.
 */
/* =========================================================
 * Tour Operator authentication
 * Public accounts are operator-only in the marketplace build.
 * ======================================================= */
.tmc-operator-auth-modal .modal-dialog{max-width:500px!important;width:calc(100% - 30px)}
.tmc-operator-auth-modal .tmc-auth-register-dialog{max-width:720px!important}
.tmc-operator-auth-modal .modal-content{border:0!important;border-radius:18px!important;box-shadow:0 24px 70px rgba(26,43,72,.18)!important;overflow:hidden}
.tmc-operator-auth-modal .tmc-auth-modal-header{border:0!important;min-height:42px;padding:14px 18px 0!important}
.tmc-operator-auth-modal .tmc-auth-modal-header .close{background:#f5f7fa!important;border:0!important;border-radius:50%!important;color:#334155!important;font-size:25px!important;height:34px!important;line-height:30px!important;margin-left:auto!important;opacity:1!important;padding:0!important;width:34px!important}
.tmc-operator-auth-modal .modal-body{padding:4px 32px 32px!important}
.tmc-operator-auth{color:#1a2b48;margin:0 auto;max-width:660px}
.tmc-operator-auth__intro{margin:0 0 24px;text-align:left}
.tmc-operator-auth__intro>span{color:var(--main-color,#5191fa);display:block;font-size:11px;font-weight:800;letter-spacing:.09em;margin-bottom:7px;text-transform:uppercase}
.tmc-operator-auth__intro h2{color:#1a2b48;font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1.18;margin:0 0 8px}
.tmc-operator-auth__intro p{color:#64748b;font-size:14px;line-height:1.65;margin:0;max-width:580px}
.tmc-operator-auth__form,.tmc-operator-auth__form *{box-sizing:border-box}
.tmc-auth-grid{display:grid;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
.tmc-auth-field{margin:0 0 16px;min-width:0;position:relative}
.tmc-auth-grid .tmc-auth-field{margin:0}
.tmc-auth-field--wide{grid-column:1/-1}
.tmc-auth-field label{color:#26374f;display:block;font-size:13px;font-weight:700;line-height:1.4;margin:0 0 7px}
.tmc-auth-field label em{color:#d14343;font-style:normal}
.tmc-operator-auth .tmc-auth-field .form-control{background:#fff!important;border:1px solid #dbe2ea!important;border-radius:9px!important;box-shadow:none!important;color:#1a2b48!important;float:none!important;font-size:14px!important;height:48px!important;line-height:normal!important;margin:0!important;max-width:none!important;padding:0 14px!important;width:100%!important}
.tmc-operator-auth .tmc-auth-field .form-control:focus{border-color:var(--main-color,#5191fa)!important;box-shadow:0 0 0 3px rgba(81,145,250,.11)!important;outline:0!important}
.tmc-operator-auth .tmc-auth-field .form-control::placeholder{color:#9aa6b5;opacity:1}
.tmc-auth-row{align-items:center;display:flex;gap:18px;justify-content:space-between;margin:4px 0 19px}
.tmc-auth-check{align-items:flex-start;color:#64748b;cursor:pointer;display:flex;font-size:13px;gap:9px;line-height:1.5;margin:0!important}
.tmc-auth-check input{flex:0 0 auto;margin:3px 0 0!important}
.tmc-auth-row>a,.tmc-auth-switch>a{color:var(--main-color,#5191fa)!important;font-size:13px;font-weight:750;text-decoration:none!important}
.tmc-auth-submit{background:var(--main-color,#5191fa)!important;border:0!important;border-radius:9px!important;color:#fff!important;cursor:pointer;font-size:14px!important;font-weight:800!important;height:50px!important;line-height:50px!important;margin:0!important;padding:0 18px!important;text-align:center!important;width:100%!important}
.tmc-auth-submit:hover{filter:brightness(.95)}
.tmc-auth-switch{border-top:1px solid #edf0f4;color:#64748b;font-size:13px;margin-top:22px;padding-top:18px;text-align:center}
.tmc-auth-switch span{margin-right:5px}
.tmc-auth-terms{background:#f8fafc;border:1px solid #e7ebf0;border-radius:9px;margin:18px 0!important;padding:12px 14px}
.tmc-auth-terms a{color:var(--main-color,#5191fa)!important;font-weight:700}
.tmc-auth-note{color:#7a8798;font-size:12px;line-height:1.55;margin:13px 0 0;text-align:center}
.tmc-operator-auth .message-wrapper{font-size:13px;line-height:1.5}
.tmc-operator-auth .message-wrapper .alert{border-radius:9px;margin:15px 0 0;padding:12px 14px}
.tmc-auth-page{background:#f6f8fb;min-height:70vh;padding:64px 0 84px}
.tmc-auth-page__card{background:#fff;border:1px solid #e8edf3;border-radius:18px;box-shadow:0 16px 48px rgba(26,43,72,.08);margin:0 auto;max-width:520px;padding:34px}
.tmc-auth-page__card--wide{max-width:760px}
@media(max-width:767px){
    .tmc-operator-auth-modal .modal-body{padding:2px 20px 24px!important}
    .tmc-auth-grid{grid-template-columns:1fr}
    .tmc-auth-field--wide{grid-column:auto}
    .tmc-operator-auth__intro h2{font-size:24px}
    .tmc-auth-row{align-items:flex-start;flex-direction:column;gap:10px}
    .tmc-auth-page{padding:30px 12px 50px}
    .tmc-auth-page__card{padding:24px 20px}
}


/* v1.7.5 — operator-only registration fallbacks for alternate Traveler layouts. */
form.tmc-generic-operator-register .user-type,
form.tmc-generic-operator-register label[for="normal-user"],
form.tmc-generic-operator-register label[for="partner-user"]{display:none!important}
form.tmc-generic-operator-register .tmc-auth-legacy-field{margin:0 0 15px!important}
form.tmc-generic-operator-register .tmc-auth-legacy-field label{color:#26374f;display:block;font-size:13px;font-weight:700;line-height:1.4;margin:0 0 7px}
form.tmc-generic-operator-register .tmc-auth-legacy-field label em{color:#d14343;font-style:normal}
form.tmc-generic-operator-register .tmc-auth-legacy-field .form-control{background:#fff!important;border:1px solid #dbe2ea!important;border-radius:9px!important;box-shadow:none!important;color:#1a2b48!important;height:48px!important;margin:0!important;padding:0 14px!important;width:100%!important}


/* v1.7.7 — Operator-only authentication clarity and convenience. */
.tmc-operator-auth__intro>span{display:inline-flex;align-items:center;background:rgba(81,145,250,.10);border-radius:999px;padding:6px 10px;letter-spacing:.08em}
.tmc-operator-auth__intro p{max-width:620px}
.tmc-auth-help{color:#7b8797;display:block;font-size:12px;line-height:1.5;margin-top:7px}
.tmc-operator-auth--login .tmc-auth-submit,.tmc-operator-auth--register .tmc-auth-submit{min-height:50px;width:100%}
.tmc-operator-auth .tmc-auth-switch{border-top:1px solid #edf1f5;margin-top:20px;padding-top:18px;text-align:center}
.tmc-operator-auth .tmc-auth-switch a{font-weight:700}


/* v1.10.187 — shared marketplace registration with role selection. */
.tmc-account-role-picker{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 20px}
.tmc-account-role{appearance:none;background:#fff;border:1px solid #dbe2ea;border-radius:12px;color:#1a2b48;cursor:pointer;min-height:104px;padding:14px;text-align:left;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}
.tmc-account-role strong{display:block;font-size:14px;font-weight:800;line-height:1.3;margin-bottom:5px}
.tmc-account-role span{color:#64748b;display:block;font-size:12px;line-height:1.45}
.tmc-account-role:hover,.tmc-account-role.is-selected{border-color:var(--main-color,#5191fa);box-shadow:0 0 0 3px rgba(81,145,250,.10)}
.tmc-account-role.is-selected{background:rgba(81,145,250,.04)}
.tmc-auth-field[hidden]{display:none!important}
@media(max-width:767px){.tmc-account-role-picker{grid-template-columns:1fr}.tmc-account-role{min-height:0}}
.tmc-auth-status{border-radius:10px;font-size:13px;line-height:1.55;margin:-8px 0 18px;padding:12px 14px}
.tmc-auth-status--success{background:#eef8f2;border:1px solid #cfe8d8;color:#28573c}
.tmc-auth-verification-help{color:#64748b;font-size:12.5px;line-height:1.55;margin:-6px 0 14px;text-align:right}
.tmc-auth-verification-help a{font-weight:700}
.tmc-auth-email-verification-note{background:#f7f9fb;border-radius:8px;color:#64748b;font-size:12.5px;line-height:1.55;margin:10px 0 0;padding:10px 12px}
