/* =========================================================
   Logmod Auth — tabbed login / sign-up (login2.html style)
   Scoped to body.auth-logmod-body
   ========================================================= */

body.auth-logmod-body,
body.auth-logmod-body * {
  box-sizing: border-box;
}

body.auth-logmod-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #333;
  background: rgba(0, 0, 0, 0.08);
}

body.auth-logmod-body .logmod {
  display: block;
  position: relative;
  min-height: 100vh;
  padding: 40px 16px 56px;
}

body.auth-logmod-body .logmod__wrapper {
  display: block;
  background: #fff;
  position: relative;
  max-width: 550px;
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  margin: 48px auto 0;
}

body.auth-logmod-body .logmod__container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

body.auth-logmod-body .logmod__lang {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

body.auth-logmod-body .logmod__brand {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 56px 12px;
}

body.auth-logmod-body .logmod__brand-logo {
  display: block;
  max-height: 56px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
}

body.auth-logmod-body .logmod__tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

body.auth-logmod-body .logmod__tabs li {
  flex: 1 1 50%;
}

body.auth-logmod-body .logmod__tabs li a {
  display: block;
  text-align: center;
  background: #d2d8d8;
  line-height: 72px;
  height: 72px;
  text-decoration: none;
  color: #809191;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border: none;
  width: 100%;
}

body.auth-logmod-body .logmod__tabs li.current a {
  background: #fff;
  color: #333;
}

body.auth-logmod-body .logmod__tab-wrapper {
  width: 100%;
}

body.auth-logmod-body .logmod__tab {
  display: none;
}

body.auth-logmod-body .logmod__tab.show {
  display: block;
}

body.auth-logmod-body .logmod__heading {
  text-align: center;
  padding: 12px 0;
}

body.auth-logmod-body .logmod__heading-subtitle {
  display: block;
  font-weight: 400;
  font-size: 15px;
  color: #888;
  line-height: 1.5;
  padding: 0 24px;
}

body.auth-logmod-body .logmod__form {
  border-top: 1px solid #e5e5e5;
}

body.auth-logmod-body .auth-alert {
  margin: 16px 24px 0;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.45;
}

body.auth-logmod-body .auth-alert-danger {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6cb;
}

body.auth-logmod-body .auth-alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

body.auth-logmod-body .sminputs {
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  flex-wrap: wrap;
}

body.auth-logmod-body .sminputs .input {
  position: relative;
  width: 50%;
  min-height: 71px;
  padding: 11px 24px;
  border-right: 1px solid #e5e5e5;
  background: #fff;
}

body.auth-logmod-body .sminputs .input.full {
  width: 100%;
  border-right: none;
}

body.auth-logmod-body .sminputs .input:last-child {
  border-right: none;
}

body.auth-logmod-body .sminputs .input label {
  display: block;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  line-height: 24px;
  color: #333;
}

body.auth-logmod-body .sminputs .input input {
  display: block;
  width: 100%;
  height: 24px;
  font-size: 15px;
  line-height: 24px;
  color: rgba(75, 89, 102, 0.85);
  border: none;
  padding: 0;
  background: transparent;
  outline: none;
}

body.auth-logmod-body .sminputs .input input::placeholder {
  color: #aaa;
}

body.auth-logmod-body .sminputs .input:has(.hide-password) input {
  padding-right: 52px;
}

body.auth-logmod-body .hide-password {
  position: absolute;
  right: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-top: 12px;
  border: none;
  border-left: 1px solid #e4e4e4;
  background: #fff;
  color: #666;
  cursor: pointer;
  user-select: none;
}

body.auth-logmod-body .hide-password:hover {
  color: #333;
  background: #f8f8f8;
}

body.auth-logmod-body .hide-password i {
  font-size: 18px;
  line-height: 1;
}

body.auth-logmod-body .logmod__wrapper--single {
  margin-top: 72px;
}

body.auth-logmod-body .logmod__heading--solo {
  padding: 28px 24px 16px;
  border-bottom: 1px solid #e5e5e5;
}

body.auth-logmod-body .logmod__heading-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #333;
}

body.auth-logmod-body .logmod__footer-link {
  text-align: center;
  padding: 16px 24px 24px;
}

body.auth-logmod-body .logmod__footer-link--padded {
  padding: 32px 24px 40px;
}

body.auth-logmod-body .simform__actions--stack {
  flex-direction: column;
}

body.auth-logmod-body .sumbit--full {
  flex: 1 1 auto;
  width: 100%;
}

body.auth-logmod-body .simform__actions {
  padding: 15px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

body.auth-logmod-body .simform__actions .sumbit {
  flex: 0 0 50%;
  height: 48px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  background: #4caf50;
  border: none;
  cursor: pointer;
  border-radius: 0;
  margin-top: 7px;
}

body.auth-logmod-body .simform__actions .sumbit:hover {
  background: #449d48;
}

body.auth-logmod-body .simform__actions .sumbit:disabled {
  opacity: 0.7;
  cursor: wait;
}

body.auth-logmod-body .simform__actions-sidetext {
  flex: 1 1 50%;
  padding: 0 10px;
  margin: 9px 0 0;
  color: #8c979e;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
}

body.auth-logmod-body .special {
  color: #f44336;
  text-decoration: none;
}

body.auth-logmod-body .special:hover {
  text-decoration: underline;
}

body.auth-logmod-body .logmod__remember {
  padding: 0 24px 12px;
  border-bottom: 1px solid #e5e5e5;
}

body.auth-logmod-body .logmod__remember label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

body.auth-logmod-body .logmod__alter {
  display: block;
  margin-top: 7px;
}

body.auth-logmod-body .connect {
  display: flex;
  width: 100%;
  height: 72px;
  line-height: 72px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
}

body.auth-logmod-body .connect:last-child {
  border-radius: 0 0 4px 4px;
}

body.auth-logmod-body .connect__icon {
  flex: 0 0 70px;
  text-align: center;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.auth-logmod-body .connect__context {
  flex: 1 1 auto;
  text-align: center;
  font-size: 15px;
}

body.auth-logmod-body .connect.facebook {
  background: #3b5998;
}

body.auth-logmod-body .connect.facebook .connect__icon {
  background: #283d68;
}

body.auth-logmod-body .connect.google {
  background: #dd4b39;
}

body.auth-logmod-body .connect.google .connect__icon {
  background: #b52f1f;
}

body.auth-logmod-body .connect:hover {
  filter: brightness(1.05);
  color: #fff;
}

@media (max-width: 520px) {
  body.auth-logmod-body .sminputs .input {
    width: 100%;
    border-right: none;
  }

  body.auth-logmod-body .simform__actions {
    flex-direction: column;
  }

  body.auth-logmod-body .simform__actions .sumbit,
  body.auth-logmod-body .simform__actions-sidetext {
    flex: 1 1 auto;
    width: 100%;
  }
}

/* Language switcher */
body.auth-logmod-body .lang-switcher {
  position: relative;
  display: inline-flex;
}

body.auth-logmod-body .lang-switcher-toggle {
  border: 0;
  background: #f3f4f6;
  padding: 6px 8px;
  border-radius: 10px;
  line-height: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.auth-logmod-body .lang-switcher-toggle:hover,
body.auth-logmod-body .lang-switcher.show .lang-switcher-toggle {
  background: #e9edf2;
}

body.auth-logmod-body .lang-flag {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

body.auth-logmod-body .lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
  display: none;
  z-index: 20;
}

body.auth-logmod-body .lang-switcher.show .lang-switcher-menu {
  display: block;
}

body.auth-logmod-body .lang-switcher-menu li {
  margin: 0;
  padding: 0;
}

body.auth-logmod-body .lang-switcher-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

body.auth-logmod-body .lang-switcher-item:hover {
  background: #f3f4f6;
  color: #111827;
}

body.auth-logmod-body .lang-switcher-item.active {
  background: #f8fafc;
  font-weight: 600;
}

