:root {
  --melfy-yellow: #FFB700;
  --melfy-yellow-light: #FFC940;
  --melfy-yellow-soft: #fff4da;
  --melfy-brown: #612f0e;
  --melfy-brown-light: #8a4314;
  --melfy-cream: #fffdf7;
  --melfy-border: #ebd9c5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  background: var(--melfy-cream);
  overflow: hidden;
}

.full-width-container {
  display: flex;
  width: 100vw;
  height: 100vh;
}

.left-panel {
  width: 45%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 100px 60px 60px 60px;
  background-color: var(--melfy-yellow-soft);
  background-image: url('../../assents/img/Login/cliente1.png');
  background-size: cover;
  background-position: center;
  transition: all 0.5s ease-in-out;
}

.left-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(97, 47, 14, 0.7) 0%, rgba(97, 47, 14, 0) 60%);
  z-index: 1;
}

.back-btn-absolute {
  position: absolute;
  top: 30px;
  left: 40px;
  z-index: 10;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(97, 47, 14, 0.4);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  transition: 0.3s;
}

.back-btn-absolute:hover {
  background: rgba(97, 47, 14, 0.8);
  transform: translateX(-3px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
}

.hero-content h1 {
  font-family: "Delius", cursive;
  font-size: 46px;
  font-weight: 800;
  color: #fffdf7;
  margin-bottom: 12px;
  line-height: 1.1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 18px;
  color: #fff4da;
  line-height: 1.4;
  font-weight: 600;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  max-width: 95%;
}

.right-panel {
  width: 55%;
  padding: 20px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--melfy-cream);
  overflow-y: auto;
}

.form-wrapper {
  width: 100%;
  max-width: 500px;
}

.logo-placeholder {
  font-family: "Delius", cursive;
  font-size: 28px;
  color: var(--melfy-brown);
  text-align: center;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.account-type {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.type-card {
  flex: 1;
  background: #fff;
  padding: 6px 6px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--melfy-brown-light);
  border: 2px solid var(--melfy-border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(97, 47, 14, 0.02);
}

.type-card i {
  font-size: 18px;
  color: var(--melfy-yellow);
}

.type-card.active {
  background: var(--melfy-brown);
  color: white;
  border-color: var(--melfy-brown);
}

.progress {
  height: 6px;
  background: #f0e6d5;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, #ffb700, #ffc940);
  transition: width 0.4s ease-in-out;
}

.step {
  display: none;
  animation: fadeStep 0.4s ease;
}

.step.active {
  display: block;
}

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

.step h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--melfy-brown);
  margin-bottom: 15px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--melfy-border);
  padding-bottom: 8px;
}

.input {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.input label {
  margin-bottom: 4px;
  color: var(--melfy-brown-light);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
}

.input input {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border-radius: 10px;
  border: 2px solid var(--melfy-border);
  background: #fff;
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease;
}

.input input:focus {
  border-color: var(--melfy-brown);
  box-shadow: 0 0 6px rgba(97, 47, 14, 0.3);
  outline: none;
}

.input input:hover {
  border-color: var(--melfy-brown-light);
}

.input i.fa-eye,
.input i.fa-eye-slash {
  position: absolute;
  right: 12px;
  top: 60%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #8a4b36;
  font-size: 16px;
  transition: color 0.2s ease;
}

.input i.fa-eye:hover,
.input i.fa-eye-slash:hover {
  color: var(--melfy-brown);
}

.buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

button {
  border: none;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(97, 47, 14, 0.25);
}

.next {
  background: var(--melfy-brown);
  color: white;
}

.prev {
  background: white;
  color: var(--melfy-brown-light);
  border: 2px solid var(--melfy-border);
}

.next:hover {
  background: var(--melfy-brown-light);
}

.prev:hover {
  background: var(--melfy-cream);
}

@media(max-width:950px) {
  body {
    overflow: auto;
  }
  .full-width-container {
    flex-direction: column;
    height: auto;
  }
  .left-panel {
    width: 100%;
    min-height: 300px;
    padding: 60px 30px 40px;
  }
  .right-panel {
    width: 100%;
    padding: 40px 30px;
  }
}