:root {
  --page-bg: #ECECEE;
  --card-bg: #FFFFFF;
  --accent: #5B3CFF;
  --accent-2: #2B6BFF;
  --muted: #8b8b98;
  --radius: 20px;
  --gap: 20px;
  --container-padding: 10px;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html, body {
  height: 100%
}

body {
  margin: 0;
  background: var(--page-bg);
  padding: 30px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrapper {
  width: 100%;
  height: calc(100vh - 60px);
  /* 30px top + 30px bottom */
  max-width: calc(100vw - 60px);
}

.content {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: var(--container-padding);
  box-shadow: 0 6px 20px rgba(15, 15, 30, 0.06);
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.two-col {
  flex: 1;
  display: flex;
  gap: var(--gap);
  align-items: stretch;
  height: 100%;
}

.swal2-popup.swal2-modal.swal2-show {
  border-radius: 20px;
}

.swal2-modal .btn {
  border-radius: 40px;
}

.panel {
  flex: 1 1 50%;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  position: relative;
}

/* LEFT - Video background */
.left {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 36px;
  background: black;
}

.left video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 40, 0.4);
  z-index: 1;
}

.left .inner {
  position: relative;
  z-index: 2
}

.logo {
  width: 220px;
  margin: auto;
  display: block;

  margin-bottom: 30px;
}

.logo img {
  width: 100%;
}

.panel.left {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.panel.left .inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center; /* centraliza o conteúdo principal */
}


.panel.left .inner .logo {
  position: absolute;
  bottom: -30px; /* distância do fundo */
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 160px; /* ajuste opcional */
  opacity: 0.8; /* opcional, dá leve transparência */
}

.hero-title {
  margin: 0;
  color: #FFF;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.9
}

.partners {
  opacity: 0;
  height: 36px
}

.right {
  padding: 56px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-box {
  width: 100%;
  max-width: 420px;
}

.panel-title {
  font-size: 28px;
  margin: 0 0 6px 0;
  font-weight: 700
}

.panel-desc {
  margin: 0 0 22px 0;
  color: var(--muted);
  font-size: 14px
}

.form-group {
  margin-bottom: 14px
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #333
}

input[type="email"], input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #E7E7EE;
  font-size: 14px;
  outline: none;
  background: #fff;
  transition: box-shadow .18s, border-color .18s;
}

input:focus {
  box-shadow: 0 6px 18px rgba(43, 107, 255, 0.08);
  border-color: rgba(43, 107, 255, 0.5)
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  margin-bottom: 18px;
}

.forgot {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none
}

.forgot:hover {
  text-decoration: underline
}

/* .btn {
  display: inline-block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: 0 8px 24px rgba(43, 107, 255, 0.16);
} */

.small-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px
}

@media (max-width:880px) {
  .two-col {
    flex-direction: column
  }

  .right {
    padding: 30px
  }

  .left {
    padding: 24px
  }

  .hero-title {
    font-size: 28px
  }
}

@media (max-width:720px) {
  body {
    padding: 10px
  }

  .content {
    padding: 8px
  }

  .left,
  .panel.left {
    display: none;
  }

  .right {
    padding: 20px
  }

  .form-box {
    max-width: 100%
  }

  .hero-title {
    font-size: 22px
  }
}
