* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

body {
  background: url("../../../assets/templateOne/images/bg/singin-bg.jpg")
    no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  display: flex;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  max-width: 900px;
  width: 100%;
  overflow: hidden;
}

.login-section {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  color: #dc3545;
  margin-bottom: 16px;
}

h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #111;
}

p {
  font-size: 15px;
  margin-bottom: 20px;
  color: #666;
}

.input-group {
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.options {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 20px;
}

.options a {
  text-decoration: none;
  color: #dc3545;
}

button {
  background: #dc3545;
  color: #fff;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

.signup {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
}

.signup a {
  color: #dc3545;
  text-decoration: none;
}

.visual-section {
  flex: 1;
  background-color: #dc3545;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
}

.floating-img img {
  width: 300px;
  /* ← AQUÍ defines el tamaño */
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
  margin-bottom: 20px;
  border-radius: 20px;
  /* <-- Añade esta línea para bordes redondeados */
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
    margin: 20px;
  }

  .visual-section {
    display: none;
  }
}
