/* Animated Floating Balls Background */
.animated-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #c4dee0;
  overflow: hidden;
}

.animated-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(80px);
  -webkit-backdrop-filter: blur(80px);
  z-index: 1;
}

.ball {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.ball-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #086972, #0a8f9a);
  top: -100px;
  left: -100px;
  animation: float1 8s ease-in-out infinite;
}

.ball-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #17B978, #1fd492);
  top: 50%;
  right: -80px;
  animation: float2 7s ease-in-out infinite;
}

.ball-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #086972, #17B978);
  bottom: -50px;
  left: 20%;
  animation: float3 9s ease-in-out infinite;
}

.ball-4 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #17B978, #086972);
  top: 30%;
  left: 10%;
  animation: float4 10s ease-in-out infinite;
}

.ball-5 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #0a8f9a, #1fd492);
  bottom: -100px;
  right: 10%;
  animation: float5 11s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(100px, 80px) scale(1.1); }
  50% { transform: translate(50px, 150px) scale(0.95); }
  75% { transform: translate(120px, 50px) scale(1.05); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-80px, -100px) scale(1.15); }
  66% { transform: translate(-120px, 50px) scale(0.9); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(80px, -60px) scale(1.1); }
  50% { transform: translate(150px, -100px) scale(0.95); }
  75% { transform: translate(50px, -40px) scale(1.08); }
}

@keyframes float4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, 100px) scale(1.2); }
}

@keyframes float5 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -80px) scale(1.1); }
  66% { transform: translate(-100px, -50px) scale(0.92); }
}

/* Header hide utility */
.header-section {
  display: none;
}

/* Left Panel Background Image */
.hero-panel {
  background-image: url('./hero-1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Form Validation Styles */
.input-error {
  border-color: #ef4444 !important;
}

.input-success {
  border-color: #17B978 !important;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

.success-message {
  color: #17B978;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

/* OTP Input Styles */
.otp-input {
  transition: all 0.2s;
}

.otp-input:focus {
  border-color: #086972;
  box-shadow: 0 0 0 3px rgba(8, 105, 114, 0.1);
}

.otp-input.error {
  border-color: #ed6161;
  animation: shake 0.3s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Server Error Messages */
.server-error {
  background-color: #fee2e2;
  border: 1px solid #ed6161;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.server-error ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.25rem;
}

.server-error li {
  margin: 0.25rem 0;
}
