/* ============================================
   INDEX.CSS - Estilos da Página de Login
   ============================================ */

body {
  display: flex;
  height: 100vh;
}

/* ============================================
   LADO ESQUERDO - LOGIN
   ============================================ */

.login-side {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #09090b 0%, #121417 100%);
  border-right: 1px solid #323238;
  position: relative;
  z-index: 10;
}

.logo-area {
  margin-bottom: 40px;
  text-align: center;
}

.logo-img {
  max-width: 180px;
  height: auto;
  display: block;
}

.login-card {
  width: 100%;
  max-width: 380px;
  background: #212529;
  border: 1px solid #323238;
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.login-card h2 {
  color: #E1E1E6;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group.no-icon input {
  padding-left: 15px;
}

.input-icon {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #7C7C8A;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  pointer-events: none;
  z-index: 2;
}

.login-card input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: #2b3035;
  border: 1px solid #323238;
  border-radius: 6px;
  color: #E1E1E6;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
}

.input-group.no-icon input {
  padding-left: 15px;
}

.login-card input:focus {
  border-color: #1b62f8;
  box-shadow: 0 0 0 3px rgba(27, 98, 248, 0.1);
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #7C7C8A;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.toggle-password:hover {
  color: #E1E1E6;
}

.toggle-password svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Options Row */
.options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-top: 5px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #adb5bd;
  user-select: none;
}

.checkbox-container input {
  margin-right: 6px;
  cursor: pointer;
  width: 16px;
  height: 16px;
}

.options-row a {
  color: #1b62f8;
  font-weight: 600;
  transition: color 0.2s ease;
}

.options-row a:hover {
  color: #154cbd;
}

/* Buttons */
.btn-login {
  width: 100%;
  padding: 12px;
  background: #1b62f8;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.btn-login:hover:not(:disabled) {
  background: #154cbd;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 98, 248, 0.3);
}

.btn-login:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Divider */
.divider {
  text-align: center;
  margin: 25px 0;
  color: #7C7C8A;
  position: relative;
  font-size: 11px;
  font-weight: 600;
}

.divider span {
  background: #212529;
  padding: 0 10px;
  z-index: 2;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #323238;
  z-index: 1;
}

/* Signup Text */
.signup-text {
  font-size: 12px;
  text-align: center;
  color: #adb5bd;
  line-height: 1.5;
}

.signup-text a {
  color: #1b62f8;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.signup-text a:hover {
  color: #154cbd;
  text-decoration: underline;
}

/* Footer */
footer {
  margin-top: 40px;
  color: #7C7C8A;
  font-size: 11px;
  text-align: center;
  position: absolute;
  bottom: 20px;
  width: 100%;
}

/* ============================================
   LADO DIREITO - SHOWCASE
   ============================================ */

.showcase-side {
  width: 60%;
  background: radial-gradient(circle at 10% 20%, rgba(27, 98, 248, 0.1) 0%, transparent 40%),
              linear-gradient(135deg, #09090b 0%, #161b22 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 15vh;
  position: relative;
  overflow: hidden;
}

.slide-content {
  z-index: 2;
  width: 100%;
  max-width: 550px;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(30px);
  pointer-events: none;
}

.slide-content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chart-box-glass {
  width: 100%;
  height: 300px;
  background: rgba(33, 37, 41, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  text-align: center;
  letter-spacing: -0.5px;
}

.slide-desc {
  font-size: 16px;
  color: #a1a1aa;
  line-height: 1.5;
  text-align: center;
  max-width: 450px;
}

.indicators {
  position: absolute;
  bottom: 50px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.dot.active {
  background-color: #1b62f8;
  transform: scale(1.2);
}

/* ============================================
   MODAIS
   ============================================ */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}

.modal-overlay.active,
.modal-overlay[style*="display: flex"] {
  display: flex;
}

.modal-content {
  background: #212529;
  border: 1px solid #323238;
  border-radius: 12px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #7C7C8A;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.btn-close:hover {
  color: #E1E1E6;
}

.modal-title {
  color: #E1E1E6;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.modal-content p {
  color: #adb5bd;
  font-size: 12px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-input {
  width: 100%;
  padding: 10px 12px;
  background: #2b3035;
  border: 1px solid #323238;
  border-radius: 6px;
  color: #E1E1E6;
  font-size: 13px;
  outline: none;
  transition: all 0.2s ease;
  margin-bottom: 12px;
}

.modal-input:focus {
  border-color: #1b62f8;
  box-shadow: 0 0 0 3px rgba(27, 98, 248, 0.1);
}

.btn-whats,
.secret-btn {
  width: 100%;
  padding: 12px;
  background: #1b62f8;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-whats:hover,
.secret-btn:hover {
  background: #154cbd;
  transform: translateY(-1px);
}

.btn-whats {
  background: #25d366;
  margin-bottom: 15px;
}

.btn-whats:hover {
  background: #1fa855;
}

hr {
  border: none;
  border-top: 1px solid #323238;
  margin: 15px 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .login-side {
    width: 50%;
  }

  .showcase-side {
    width: 50%;
  }
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .login-side {
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 20px;
  }

  .showcase-side {
    display: none;
  }

  .login-card {
    max-width: 100%;
  }

  footer {
    position: relative;
    margin-top: 30px;
    bottom: auto;
  }

  .modal-content {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 20px;
  }

  .login-card h2 {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .btn-login {
    padding: 10px;
    font-size: 13px;
  }

  .modal-content {
    padding: 20px;
  }

  .modal-title {
    font-size: 14px;
  }
}
