/* Taj Catalog - Sign In panel. Separate file on purpose: a new file name can never be served stale by a cache. */

#taj-si-dim{
  position:fixed;inset:0;background:rgba(17,20,23,.32);z-index:99990;
  opacity:0;visibility:hidden;transition:opacity .16s ease;
}
#taj-si-dim.on{opacity:1;visibility:visible}

#taj-si{
  position:absolute;z-index:99991;width:368px;max-width:calc(100vw - 24px);
  background:#fff;border:1px solid #e3e7ec;border-radius:12px;
  box-shadow:0 26px 60px -18px rgba(17,20,23,.42),0 4px 12px rgba(17,20,23,.08);
  padding:20px 22px 22px;
  font-family:inherit;color:#1f2328;text-align:left;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .16s ease,transform .16s ease;
}
#taj-si.on{opacity:1;visibility:visible;transform:none}
#taj-si *{box-sizing:border-box}

/* ---------------------------------------------------------------- head */
#taj-si .si-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
  padding-bottom:14px;border-bottom:1px solid #eef1f4;
}
#taj-si .si-head h3{font-size:16px;font-weight:800;margin:0;line-height:1.2;color:#1f2328}
#taj-si .si-head p{font-size:11.5px;color:#6f7983;margin:3px 0 0;line-height:1.3}
#taj-si .si-x{
  width:26px;height:26px;flex:none;border:0;border-radius:7px;background:#f3f5f7;
  color:#8a939c;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;
}
#taj-si .si-x{background:#f3f5f7 !important;color:#8a939c !important;border:0 !important;box-shadow:none !important}
#taj-si .si-x:hover{background:#e9edf1 !important;color:#5c666f !important}
#taj-si .si-x svg{width:13px;height:13px;display:block}

/* ---------------------------------------------------------------- fields */
#taj-si .si-f{margin-top:15px}
#taj-si label{display:block;font-size:11.5px;font-weight:700;color:#424c56;margin:0 0 6px}
#taj-si label em{font-style:normal;color:#c0392b}

#taj-si .si-inp{position:relative}
#taj-si .si-inp input{
  width:100%;height:42px;border:1.5px solid #dde3e9;border-radius:8px;margin:0;
  padding:0 38px 0 36px;font-size:13.5px;font-family:inherit;color:#1f2328;background:#fff;
  outline:none;box-shadow:none;line-height:normal;
}
#taj-si .si-inp input::placeholder{color:#aeb6bf}
#taj-si .si-inp input:focus{border-color:#63ad45;box-shadow:0 0 0 3.5px rgba(99,173,69,.16)}

#taj-si .si-ico,
#taj-si .si-eye{position:absolute;top:50%;transform:translateY(-50%);color:#9aa3ac;display:flex}
#taj-si .si-ico{left:12px}
#taj-si .si-eye{right:8px;background:none;border:0;padding:4px;cursor:pointer}
#taj-si .si-eye{background:none !important;color:#9aa3ac !important;border:0 !important;box-shadow:none !important}
#taj-si .si-eye:hover{color:#F28C28 !important;background:none !important}
#taj-si .si-ico svg,
#taj-si .si-eye svg{width:15px;height:15px;display:block}

#taj-si .si-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px}
#taj-si .si-chk{
  display:flex;align-items:center;gap:7px;font-size:12px;color:#4f5962;
  margin:0;font-weight:500;cursor:pointer;
}
#taj-si .si-chk input{width:15px;height:15px;margin:0;accent-color:#63ad45}
#taj-si .si-lost{font-size:12px;color:#4e8f34;font-weight:700;text-decoration:none}
#taj-si .si-lost:hover{text-decoration:underline}

/* ---------------------------------------------------------------- buttons */
#taj-si .si-btn{
  width:100%;height:44px;margin-top:16px;border:0;border-radius:8px;cursor:pointer;
  font-size:14px;font-weight:700;font-family:inherit;line-height:1;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
#taj-si .si-btn svg{width:15px;height:15px;flex:none}
/* The storefront paints every <button> black with !important (body.taj-active.taj-combined button ...), which
   also hid the orange click colour. The panel's buttons are therefore declared !important too - an id selector
   beats that rule - so black at rest, orange when clicked. */
#taj-si .si-solid,
#taj-si .si-line{
  background:#000 !important;color:#fff !important;border:0 !important;box-shadow:none !important;text-decoration:none;
}
#taj-si .si-line{margin-top:10px}
#taj-si .si-solid:hover,
#taj-si .si-line:hover{background:#262b30 !important}
#taj-si .si-solid[disabled]{opacity:.65;cursor:default}
/* clicked: Log in / Create account turn orange (while pressed, and while the request is running) */
#taj-si .si-solid:active,
#taj-si .si-solid.is-busy,
#taj-si .si-solid.is-busy[disabled],
#taj-si .si-line:active,
#taj-si .si-line.is-hit{
  background:#F28C28 !important;color:#fff !important;opacity:1 !important;
  box-shadow:0 8px 16px -9px rgba(242,140,40,.95) !important;
}
#taj-si .si-solid.is-busy[disabled]{cursor:progress}

#taj-si .si-or{
  display:flex;align-items:center;gap:10px;margin-top:16px;
  color:#aab2ba;font-size:10.5px;font-weight:700;letter-spacing:.8px;
}
#taj-si .si-or:before,
#taj-si .si-or:after{content:"";flex:1;height:1px;background:#eaeef2}

#taj-si .si-track{
  margin-top:15px;padding-top:13px;border-top:1px solid #eef1f4;
  text-align:center;font-size:11.5px;color:#6f7983;
}
#taj-si .si-track a{color:#1f2328;font-weight:700;text-decoration:none}
#taj-si .si-track a:hover{text-decoration:underline}

/* ---------------------------------------------------------------- messages */
#taj-si .si-msg{display:none;margin-top:14px;padding:10px 12px;border-radius:8px;font-size:12.5px;line-height:1.5}
#taj-si .si-msg.err{display:block;background:#fdf1f1;border:1px solid #f3d4d4;color:#a93b3b}
#taj-si .si-msg.ok{display:block;background:#f1f9ed;border:1px solid #d6ead0;color:#3d7a2c}

#taj-si .si-spin{
  width:15px;height:15px;flex:none;border:2px solid rgba(255,255,255,.45);
  border-top-color:#fff;border-radius:50%;animation:taj-si-spin .7s linear infinite;
}
@keyframes taj-si-spin{to{transform:rotate(360deg)}}

/* ---------------------------------------------------------------- phone */
@media (max-width:560px){
  #taj-si{
    position:fixed !important;left:12px !important;right:12px !important;top:auto !important;
    bottom:12px;width:auto;max-width:none;border-radius:14px;
  }
}

/* The old small Sign In dropdown is replaced by the panel while this script is running. */
body.taj-si-on .taj-account-drop .taj-panel{display:none !important}
body.taj-si-on .taj-account-drop .taj-drop-btn .taj-chev,
body.taj-si-on .taj-account-drop.is-open > .taj-drop-btn{background:transparent}

/* ---------------------------------------------------------------- register view (same panel) */
#taj-si .si-reg{display:none}
#taj-si.is-reg .si-form{display:none}
#taj-si.is-reg .si-reg{display:block}
#taj-si .si-hint{font-size:11px;color:#8b96a3;margin-top:5px;line-height:1.4}
#taj-si .si-trap{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
#taj-si .si-policy{margin-top:13px;font-size:11px;color:#8b96a3;line-height:1.55}
#taj-si .si-policy p{margin:0}
#taj-si .si-policy a{color:#4e8f34;font-weight:600;text-decoration:none}
#taj-si .si-link{background:none;border:0;padding:0;margin:0;font:inherit;font-weight:700;color:#1f2328;cursor:pointer}
#taj-si .si-link{background:none !important;color:#1f2328 !important;border:0 !important;box-shadow:none !important;padding:0 !important}
#taj-si .si-link:hover{text-decoration:underline;color:#D9731A !important}
@media (max-width:560px){
  #taj-si{max-height:calc(100vh - 24px);overflow-y:auto;-webkit-overflow-scrolling:touch}
}

/* ---------------------------------------------------------------- WooCommerce "show password" eye (login / lost password / checkout)
   The storefront's black-button rule turned the toggle into a black square with an invisible glyph. Draw a real eye. */
body.taj-active .password-input .show-password-input{
  position:absolute !important;top:50% !important;right:8px !important;left:auto !important;bottom:auto !important;transform:translateY(-50%) !important;
  width:34px !important;height:34px !important;min-width:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important;
  border:0 !important;border-radius:8px !important;box-shadow:none !important;font-size:0 !important;line-height:0 !important;color:transparent !important;cursor:pointer;
  background-color:transparent !important;background-repeat:no-repeat !important;background-position:center !important;background-size:19px 19px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa3ac' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") !important;
}
body.taj-active .password-input .show-password-input::before,
body.taj-active .password-input .show-password-input::after{content:none !important;display:none !important}
body.taj-active .password-input .show-password-input:hover{background-color:#FFF6EE !important}
body.taj-active .password-input .show-password-input.display-password{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23424c56' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24'/%3E%3Cline x1='1' y1='1' x2='23' y2='23'/%3E%3C/svg%3E") !important;
}
body.taj-active .password-input input.input-text{padding-right:46px !important}
