* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Montserrat, sans-serif !important;
  background: #252837;
  min-height: 100vh;
  color: #fff;
}

.container {
  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;
}

.card {
  width: 100%;
  max-width: 1400px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: transparent;
  box-shadow: none;
  border-radius: 0;
  position: relative;
}

.card:before {
  content: "";
  width: 1px;
  height: 650px;
  background: rgba(255, 255, 255, 0.15);

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  width: 45%;
  text-align: center;
}

.logo h1 {
  font-size: 80px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
}

/* Login Page  */

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  padding: 20px;
}
.login-left {
  text-align: center;
}
.login-left .brand h1 {
  font-weight: 900;
  font-size: 34px;
  margin-bottom: 10px;
}
.login-left .brand .subtitle {
  font-size: 24px;
  color: #e6e6e6;
}
.continuum-logo {
  max-width: 250px;
  text-align: center;
  line-height: 1;
  margin: 20px auto 20px auto;
  filter: brightness(0) saturate(100%) invert(1);
}
.divider-new {
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  width: 90%;
  display: block;
  margin-bottom: 40px;
}
.login-right {
  width: 100%;
}
form {
  width: 45%;
}
.login-form {
  width: 100%;
}
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 5px;
  padding-left: 15px;
}

input {
  width: 100%;
  font-family: "Montserrat", sans-serif;

  border-radius: 50px;
  border: 2px solid #6343b5;
  background: transparent;
  color: #fff;
  padding: 15px 20px;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s ease;
  height: 60px;
}

input:focus {
  outline: none;
  border-color: #8f6df0;
  box-shadow: 0 0 12px rgba(109, 71, 217, 0.3);
}

button {
  width: 100%;
  padding: 15px 20px;
  margin-top: 20px;
  border: none;
  border-radius: 50px;
  background: #6343b5;
  border: 2px solid #6343b5;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s ease;
}

.demo-buttons {
  display: flex;
  flex-direction: column;
  /*  gap: 18px; */
}

.submit-btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  width: 100%;
  padding: 15px 20px;
  border-radius: 50px;
  border: 2px solid #6343b5;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 60px;
}

/* Automotive default */

.consumer-btn {
  background: #6343b5;
}

/* Consumer default */

.automotive-btn {
  background: transparent;
}

/* Hover na Consumer */

.automotive-btn:hover {
  background: #6343b5;
}

/* Kad je miš na Consumer,
   Automotive postaje outline */

.demo-buttons:has(.automotive-btn:hover) .automotive-btn {
  background: transparent;
}

/* Mali lift efekat */

.submit-btn:hover {
  /*  transform: translateY(-2px); */
}

/* button:hover {
  background: none;
  border: 2px solid #6343b5;
}

button + .secondary {
  background: none;
  border: 2px solid #6343b5;
}
button + .secondary:hover {
  background: #7d5cec;
} */
.footer-login {
  text-align: center;
  color: #dcdcdc;
  font-size: 20px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-login-left,
.footer-login-right {
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  display: none;
}

.error-message {
  background: rgba(180, 0, 32, 0.15);
  border: 1px solid rgba(255, 100, 120, 0.4);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 25px;
  color: #fff;
}

/* Login success message */
.success-overlay {
  position: fixed;
  inset: 0;

  background: rgba(11, 17, 35, 0.88);
  backdrop-filter: blur(6px);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.success-modal {
  width: 90%;
  max-width: 520px;

  background: #1d2138;
  border: 1px solid rgba(139, 92, 246, 0.4);

  border-radius: 24px;
  padding: 40px;

  text-align: center;

  box-shadow:
    0 0 30px rgba(139, 92, 246, 0.15),
    0 20px 50px rgba(0, 0, 0, 0.45);
}

.success-modal .icon {
  width: 90px;
  height: 90px;

  margin: 0 auto 25px;

  border-radius: 50%;

  background: linear-gradient(135deg, #7c3aed, #8b5cf6);

  color: #fff;

  font-size: 42px;
  font-weight: bold;
  line-height: 90px;

  box-shadow: 0 0 25px rgba(139, 92, 246, 0.5);
}

.success-modal h2 {
  color: #ffffff;
  font-size: 28px;
  margin-bottom: 15px;
}

.success-modal p {
  color: #d6d6e7;
  line-height: 1.7;
  margin-bottom: 12px;
}

.success-modal .small {
  color: #9fa6c9;
  font-size: 14px;
}

.success-modal .email {
  color: #8b5cf6;
  font-weight: 600;
}

.success-modal .close-btn {
  margin-top: 25px;

  background: #6f42c1;
  color: white;

  border: none;
  border-radius: 40px;

  padding: 14px 36px;

  font-size: 15px;
  cursor: pointer;

  transition: all 0.3s ease;
}

.success-modal .close-btn:hover {
  background: #8255da;
  transform: translateY(-2px);
}

@media screen and (min-width: 400px) {
  .continuum-logo {
    margin: 20px auto 40px auto;
  }
  .divider-new {
    width: 100%;
  }
  .footer-login-left,
  .footer-login-right {
    display: block;
    flex: 1;
    margin: 0 5px;
  }
}

/* Tablet */

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .login-page {
    flex-direction: column;

    justify-content: center;

    gap: 30px;

    padding: 30px;
  }

  .divider-new {
    width: 80%;

    height: 2px;

    margin: 0 auto;
  }

  .login-left {
    min-width: auto;

    text-align: center;
  }

  .login-right {
    width: 100%;

    max-width: 550px;
  }

  .continuum-logo {
    max-width: 260px;
  }
}

/* @media screen and (min-width: 768px) {
  .login-page {
    flex-direction: row;
    align-items: center;
    gap: 30px;
    height: 100vh;
  }

  .login-left {
    min-width: 350px;
  }

  .divider-new {
    width: 2px;
    height: 500px;
    margin-top: 50px;
  }
  .continuum-logo {
    max-width: 350px;
    margin: 40px auto 40px auto;
  }
  .form-group {
    margin-bottom: 30px;
  }
  label {
    font-size: 16px;
  }
  .footer-login-left,
  .footer-login-right {
    display: block;
    flex: 1;
    margin: 0 5px;
  }
} */

@media screen and (min-width: 992px) {
  .login-page {
    gap: 30px;
  }
  .continuum-logo {
    margin: 20px auto 20px auto;
  }

  .divider-new {
    /*   margin-top: 50px; */
  }
  .login-left {
    width: 40%;

    min-width: 320px;
  }
  .login-left .brand h1 {
    font-size: 44px;
  }
  .login-right {
    flex: 1;
    max-width: 450px;
  }
  .footer-login {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-login-left,
  .footer-login-right {
    display: block;
    flex: 1;
    margin: 0 5px;
  }
}

@media screen and (min-width: 1200px) {
  .login-left {
    max-width: 400px;
    min-width: 320px;
  }
  .login-page {
    flex-direction: row;

    align-items: center;

    gap: 50px;

    height: 100vh;
  }

  .divider-new {
    width: 2px;

    height: 550px;
  }
}
/* Page Transition */

.page-transition {
  opacity: 0;

  transform: translateY(30px);

  animation: pageEnter 0.6s ease forwards;
}

@keyframes pageEnter {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Montserrat, sans-serif !important;
  background: #f5f6fa;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 500px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.logo {
  text-align: center;
  margin-bottom: 10px;
}

.logo h1 {
  font-size: 36px;
  color: #003366;
}

.subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}

input:focus {
  outline: none;
  border-color: #003366;
}

button {
  width: 100%;
  padding: 15px;
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background: #004a8a;
}

.footer-text {
  margin-top: 20px;
  text-align: center;
  color: #888;
  font-size: 13px;
}

.error-message {
  background: #ffe5e5;
  color: #b00020;
  border: 1px solid #ffcccc;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.hidden-field {
  display: none;
}
 */
