html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Lato", sans-serif;
  color: #333;
}

.container {
  display: flex;
  height: 100dvh;
  width: 100dvw;
}

.left-panel {
  flex-basis: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background-color: #fff;
}

.login-container {
  max-width: 350px;
  width: 100%;
  text-align: center;
}

.logo {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
}

.container.login-page .ui.button {
  width: 320px !important;
}

.product-name {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #aaa;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.divider span {
  padding: 0 1rem;
}

.right-panel {
  flex-basis: 50%;
  position: relative;
  background-image: url("/resources/images/log-in-illustration-23f3e9941ca77fee1028740124c16802.svg");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
}

.main-footer {
  box-sizing: border-box;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  font-size: 0.8rem;
  background-color: transparent;
  z-index: 100;
}

.main-footer p {
  margin: 0;
}

.footer-left {
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.footer-center a {
  color: #27ae60;
  text-decoration: none;
  margin: 0 0.5rem;
  white-space: nowrap;
}

.footer-center a:hover {
  text-decoration: underline;
}

.footer-right {
  color: white;
}

@media (max-width: 768px) {
  .right-panel {
    display: none;
  }
  .left-panel {
    flex-basis: 100%;
  }

  .main-footer {
    background-color: #f2f2f2;
  }

  .footer-right {
    color: #333;
  }
}

@media (max-width: 640px) {
  .main-footer {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }

  .footer-center {
    position: static;
    transform: none;
    order: -1; /* Move links to the top */
  }
}
