/* ============================================
   LOGIN - Modern Technology Theme (Red)
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
/* line 7, ../sass/login.scss */
:root {
  --primary: #ee0000;
  --primary-dark: #cc0000;
  --primary-light: #ff3333;
  --accent: #ff6b35;
  --bg-dark: #1a1a2e;
  --bg-card: rgba(255, 255, 255, 0.97);
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --input-bg: #f8fafc;
  --input-border: #cbd5e1;
  --input-focus: #ee0000;
  --error: #ef4444;
  --error-bg: #fef2f2;
  --error-border: #fecaca;
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 60px rgba(238, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* line 31, ../sass/login.scss */
* {
  box-sizing: border-box;
}

/* line 35, ../sass/login.scss */
html {
  font-size: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* line 42, ../sass/login.scss */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-color: #1a1a2e;
  position: relative;
  min-height: 100%;
  padding: 0;
  margin: 0;
}

/* ---- Language Selector ---- */
/* line 56, ../sass/login.scss */
.languages {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 6px;
}
/* line 65, ../sass/login.scss */
.languages li {
  display: inline-block;
  padding: 0;
}
/* line 69, ../sass/login.scss */
.languages li a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
}
/* line 86, ../sass/login.scss */
.languages li a:hover {
  color: #fff;
  background: rgba(238, 0, 0, 0.5);
  border-color: rgba(238, 0, 0, 0.6);
  transform: translateY(-1px);
}
/* line 93, ../sass/login.scss */
.languages li a img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* ---- Input Fields ---- */
/* line 104, ../sass/login.scss */
input[type=text], input[type=password] {
  border: 1.5px solid var(--input-border);
  padding: 0 16px;
  height: 46px;
  line-height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--input-bg);
  display: block;
  width: 100%;
  text-align: left;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  transition: all 0.25s ease;
  box-shadow: none;
  outline: none;
}
/* line 121, ../sass/login.scss */
input[type=text]::placeholder, input[type=password]::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
/* line 126, ../sass/login.scss */
input[type=text]:hover, input[type=password]:hover {
  border-color: var(--primary-light);
}
/* line 130, ../sass/login.scss */
input[type=text]:focus, input[type=password]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(238, 0, 0, 0.12);
  background-color: #fff;
}

/* ---- Button ---- */
/* line 138, ../sass/login.scss */
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #ee0000 0%, #cc0000 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(238, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

/* line 160, ../sass/login.scss */
button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.5s ease;
}

/* line 171, ../sass/login.scss */
button:hover {
  background: linear-gradient(135deg, #cc0000 0%, #aa0000 100%);
  box-shadow: 0 6px 20px rgba(238, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* line 177, ../sass/login.scss */
button:hover::before {
  left: 100%;
}

/* line 181, ../sass/login.scss */
button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(238, 0, 0, 0.25);
}

/* ---- Alert Messages ---- */
/* line 187, ../sass/login.scss */
.alert {
  display: block;
  font-size: 13px;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* line 196, ../sass/login.scss */
.alert.alert-danger {
  color: #cc0000;
  border: 1px solid var(--error-border);
  background: var(--error-bg);
  margin-top: 0;
}

/* ---- Login Form Container ---- */
/* line 204, ../sass/login.scss */
.login-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  padding: 20px;
  /* ---- Left Panel (Logo) ---- */
  /* ---- Right Panel (Form) ---- */
  /* ---- Responsive ---- */
}
/* line 214, ../sass/login.scss */
.login-form h2 {
  text-align: center;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 28px;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
}
/* line 224, ../sass/login.scss */
.login-form h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  margin: 14px auto 0;
  border-radius: 2px;
}
/* line 235, ../sass/login.scss */
.login-form .login-content {
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}
@media screen and (max-width: 767px) {
  /* line 235, ../sass/login.scss */
  .login-form .login-content {
    flex-direction: column;
    width: 100%;
    max-width: 420px;
  }
}
/* line 248, ../sass/login.scss */
.login-form .login-left, .login-form .login-right {
  padding: 48px 32px;
  width: 360px;
  position: relative;
  text-align: center;
}
@media screen and (max-width: 767px) {
  /* line 248, ../sass/login.scss */
  .login-form .login-left, .login-form .login-right {
    padding: 32px 20px;
  }
}
/* line 260, ../sass/login.scss */
.login-form .login-left {
  background: linear-gradient(160deg, #EFEFEF 0%, #ffffff 50%, #E3E3E3 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  position: relative;
  overflow: hidden;
  /* Subtle radial glow */
}
/* line 271, ../sass/login.scss */
.login-form .login-left::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at 70% 30%, rgba(238, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}
/* line 282, ../sass/login.scss */
.login-form .login-left::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -30%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.06) 0%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}
/* line 293, ../sass/login.scss */
.login-form .login-left #login-top {
  position: relative;
  z-index: 1;
}
/* line 298, ../sass/login.scss */
.login-form .login-left #logo {
  width: 210px;
  max-height: 100%;
  margin: auto;
  filter: brightness(1.05);
  transition: transform 0.3s ease;
}
/* line 305, ../sass/login.scss */
.login-form .login-left #logo:hover {
  transform: scale(1.03);
}
/* line 312, ../sass/login.scss */
.login-form .login-right {
  background-color: var(--bg-card);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  text-align: left;
}
/* line 317, ../sass/login.scss */
.login-form .login-right h2 {
  display: block;
  margin: 0;
  padding: 0 0 20px 0;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 20px;
  text-shadow: none;
}
/* line 326, ../sass/login.scss */
.login-form .login-right h2::after {
  display: none;
}
@media screen and (max-width: 767px) {
  /* line 204, ../sass/login.scss */
  .login-form {
    width: 100%;
    padding: 16px;
  }
  /* line 337, ../sass/login.scss */
  .login-form .login-left, .login-form .login-right {
    width: 100%;
    border-radius: 0;
  }
  /* line 342, ../sass/login.scss */
  .login-form .login-left {
    height: auto;
    padding: 32px 20px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  /* line 347, ../sass/login.scss */
  .login-form .login-left #logo {
    width: 170px;
  }
  /* line 352, ../sass/login.scss */
  .login-form .login-right {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 32px 24px;
  }
}

/* ---- Error Block ---- */
/* line 360, ../sass/login.scss */
.loginError.validation-block {
  font-size: 13px;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  color: #cc0000;
  font-weight: 500;
}

/* line 368, ../sass/login.scss */
.loginError.validation-block > div {
  padding: 10px 14px;
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: var(--radius-sm);
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
/* ---- Form Groups ---- */
/* line 383, ../sass/login.scss */
.form-group {
  margin-bottom: 16px;
}

/* line 387, ../sass/login.scss */
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.2px;
}

/* line 396, ../sass/login.scss */
.form-group:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- Footer / Copyright ---- */
/* line 403, ../sass/login.scss */
.login-copy {
  clear: both;
  padding: 10px;
  margin: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
}

/* ---- Login Block ---- */
/* line 416, ../sass/login.scss */
.login-block {
  display: block;
  transition: all 0.3s ease;
}

/* ---- Sub-User Toggle & Submit Row ---- */
/* line 422, ../sass/login.scss */
.l-right {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
}
/* line 428, ../sass/login.scss */
.l-right .sub-user-toggle {
  flex: 1;
  line-height: normal;
}
/* line 432, ../sass/login.scss */
.l-right .sub-user-toggle #sub_user {
  display: none;
}
/* line 436, ../sass/login.scss */
.l-right .sub-user-toggle > label {
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  margin: 0;
  padding: 0 10px 0 42px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  overflow: hidden;
  font-size: 12px;
  font-weight: 500;
  line-height: 38px;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  background: var(--input-bg);
  transition: all 0.25s ease;
  box-shadow: none;
}
/* line 457, ../sass/login.scss */
.l-right .sub-user-toggle > label:hover {
  border-color: var(--primary-light);
  background: #fff5f5;
}
/* line 462, ../sass/login.scss */
.l-right .sub-user-toggle > label:after {
  transition: all 0.25s ease;
  content: '';
  width: 18px;
  height: 18px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  border-radius: 4px;
  border: 1.5px solid var(--input-border);
}
/* line 476, ../sass/login.scss */
.l-right .sub-user-toggle > label:before {
  transition: all 0.25s ease;
  content: '';
  width: 10px;
  height: 5px;
  border-left: solid 2.5px var(--primary);
  border-bottom: solid 2.5px var(--primary);
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-65%) rotate(-45deg);
  opacity: 0;
  z-index: 1;
}
/* line 493, ../sass/login.scss */
.l-right .sub-user-toggle.active > label {
  border-color: var(--primary);
  background: rgba(238, 0, 0, 0.04);
}
/* line 497, ../sass/login.scss */
.l-right .sub-user-toggle.active > label:after {
  border-color: var(--primary);
  background: rgba(238, 0, 0, 0.06);
}
/* line 502, ../sass/login.scss */
.l-right .sub-user-toggle.active > label:before {
  opacity: 1;
}
/* line 509, ../sass/login.scss */
.l-right .button-light-blue {
  flex: 1;
  margin: 0;
  width: auto;
}

/* ---- Focus-visible for accessibility ---- */
/* line 517, ../sass/login.scss */
input:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---- Smooth slide for username group ---- */
/* line 524, ../sass/login.scss */
#username_group {
  overflow: hidden;
  transition: all 0.3s ease;
}
