@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --dindle-pink: rgb(240, 69, 146);
  --dindle-yellow: rgb(249, 195, 76);
  --dindle-dark: #1A1A2E;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--dindle-dark);
  background: white;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

.font-heading {
  font-family: var(--font-heading);
}

.loginOr{
  text-align: center;
      margin-top: 8px !important;
}

.logo-login{
      width: 90px;
    margin: auto;
    margin-bottom: 24px;
}

.font-body {
  font-family: var(--font-body);
}

/* Background Blob Animations - matching React Framer Motion */
@keyframes blob1Motion {
  0%, 100% {
    transform: translate(30%, -30%) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(30%, -30%) scale(1.2) rotate(90deg);
  }
}

@keyframes blob2Motion {
  0%, 100% {
    transform: translate(-30%, 30%) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(-30%, 30%) scale(1.3) rotate(-90deg);
  }
}

@keyframes blob3Motion {
  0%, 100% {
    transform: translate(-50%, -50%) translateY(0) translateX(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-50px) translateX(50px);
  }
}

/* iPhone floating animation */
@keyframes iphoneFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes iphoneFloat2 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes iphoneFloat3 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
}

/* Fade in animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Floating message cards */
@keyframes floatMessage1 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0deg);
  }
}

@keyframes floatMessage2 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(0deg);
  }
}

/* Activity indicator animation */
@keyframes scaleRotate {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

/* Pulse animation */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* CTA blob animations */
@keyframes ctaBlob1 {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes ctaBlob2 {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(-180deg) scale(1.3);
  }
  100% {
    transform: rotate(-360deg) scale(1);
  }
}

/* Rotate animations */
@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotateSlowReverse {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

/* Login/Signup page animations */
@keyframes floatUp {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes floatDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@keyframes floatUpRotate {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
}

@keyframes floatDownRotate {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(15px) rotate(-5deg);
  }
}

@keyframes pulseScale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Animation classes */
.animate-float {
  animation: iphoneFloat 4s ease-in-out infinite;
}

.animate-float-2 {
  animation: iphoneFloat2 5s ease-in-out infinite;
}

.animate-float-3 {
  animation: iphoneFloat3 5s ease-in-out infinite;
}

.animate-float-message-1 {
  animation: floatMessage1 3s ease-in-out infinite;
}

.animate-float-message-2 {
  animation: floatMessage2 4s ease-in-out infinite 1s;
}

.animate-scale-rotate {
  animation: scaleRotate 3s linear infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-cta-blob-1 {
  animation: ctaBlob1 20s linear infinite;
}

.animate-cta-blob-2 {
  animation: ctaBlob2 25s linear infinite;
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.fade-in-left {
  animation: fadeInLeft 0.6s ease-out forwards;
  opacity: 0;
}

.fade-in-right {
  animation: fadeInRight 0.6s ease-out forwards;
  opacity: 0;
}

.fade-in-scale {
  animation: fadeInScale 0.8s ease-out forwards;
  opacity: 0;
}

.scale-in {
  animation: scaleIn 0.3s ease-out forwards;
  opacity: 0;
}

.float-up {
  animation: floatUp 3s ease-in-out infinite;
}

.float-down {
  animation: floatDown 4s ease-in-out infinite;
}

.float-up-rotate {
  animation: floatUpRotate 4s ease-in-out infinite;
}

.float-down-rotate {
  animation: floatDownRotate 5s ease-in-out infinite;
}

.pulse-scale {
  animation: pulseScale 2s ease-in-out infinite;
}

.rotate-slow {
  animation: rotateSlow 50s linear infinite;
}

.rotate-slow-reverse {
  animation: rotateSlowReverse 60s linear infinite;
}

/* Delay utilities */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }
.delay-1100 { animation-delay: 1.1s; }
.delay-1200 { animation-delay: 1.2s; }
.delay-1300 { animation-delay: 1.3s; }

/* Background blobs */
.bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.bg-blob-1 {
  top: 0;
  right: 0;
  width: 800px;
  height: 800px;
  background: linear-gradient(to bottom right, rgba(240,69,146,0.2), rgba(249,195,76,0.2), transparent);
  animation: blob1Motion 20s ease-in-out infinite;
}

.bg-blob-2 {
  bottom: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: linear-gradient(to top right, rgba(249,195,76,0.2), rgba(240,69,146,0.1), transparent);
  animation: blob2Motion 25s ease-in-out infinite;
}

.bg-blob-3 {
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  background: linear-gradient(to bottom right, rgba(240,69,146,0.1), rgba(249,195,76,0.1));
  animation: blob3Motion 15s ease-in-out infinite;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--dindle-pink), var(--dindle-yellow));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.gradient-btn {
  background: linear-gradient(135deg, var(--dindle-pink), var(--dindle-yellow));
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.gradient-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(240, 69, 146, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--dindle-pink);
  color: var(--dindle-pink);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.btn-outline:hover {
  background: rgba(240, 69, 146, 0.05);
  transform: scale(1.05);
}

/* Input fields */
.input-field {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(240, 69, 146, 0.2);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--dindle-dark);
  width: 100%;
}

.input-field:focus {
  outline: none;
  border-color: var(--dindle-pink);
  box-shadow: 0 0 0 3px rgba(240, 69, 146, 0.1);
}

.input-field::placeholder {
  color: rgba(26, 26, 46, 0.4);
}

.input-field.pr-11 {
  padding-right: 2.75rem;
}

.password-field-wrap .password-toggle-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: none;
  background: transparent;
  color: rgba(26, 26, 46, 0.4);
  cursor: pointer;
  border-radius: 0.25rem;
  transition: color 0.2s ease;
}

.password-field-wrap .password-toggle-btn:hover {
  color: var(--dindle-pink);
}

.password-field-wrap .password-toggle-btn .hidden {
  display: none;
}

/* Hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.icon-hover {
  transition: transform 0.6s ease;
}

.icon-hover:hover {
  transform: rotate(360deg);
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

.button-hover {
  transition: transform 0.3s ease;
}

.button-hover-cus {
  transition: transform 0.3s ease;
  margin-top: 8px !important;
}

.button-hover:hover {
  transform: scale(1.02);
}

.button-hover:active {
  transform: scale(0.98);
}

/* Arrow animations */
.group .arrow-right {
  transition: transform 0.3s ease;
}

.group:hover .arrow-right {
  transform: translateX(4px);
}

.back-link:hover .back-arrow {
  transform: translateX(-4px);
}

.back-arrow {
  transition: transform 0.3s ease;
}

.auth-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(26, 26, 46, 0.7);
  font-size: 0.875rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: color 0.2s ease;
}

.auth-back-btn:hover {
  color: var(--dindle-pink);
}

.auth-back-btn:hover .back-arrow {
  transform: translateX(-4px);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(240, 69, 146, 0.1);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dindle-pink);
}

/* Responsive */
@media (max-width: 1024px) {
  .lg\:hidden {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .md\:hidden {
    display: none !important;
  }
}

/* JSP integration: hide legacy footer blocks on marketing landing */
body.page_landing .mobileFullContainer,
body.page_landing .info_website_custom {
  display: none !important;
}

body.dindle-new-ui.settings-page {
  background: white;
}

body.dindle-new-ui .bodyContent {
  min-height: 100vh;
}

/* Mobile code inputs on auth pages */
.dindle-code-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.dindle-code-form .codeInput,
.dindle-code-form .mobileCodeInput,
.dindle-code-form .otpCodeInput {
  width: 3rem;
  height: 3.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  border: 1px solid rgba(240, 69, 146, 0.3);
  border-radius: 0.5rem;
  font-family: var(--font-body);
}

.dindle-code-form .codeInput:focus,
.dindle-code-form .mobileCodeInput:focus,
.dindle-code-form .otpCodeInput:focus {
  outline: none;
  border-color: var(--dindle-pink);
  box-shadow: 0 0 0 3px rgba(240, 69, 146, 0.15);
}

.dindle-code-form .code-separator {
  font-size: 1.5rem;
  color: var(--dindle-dark);
  opacity: 0.4;
  padding: 0 0.25rem;
}

.wrongCode {
  display: none;
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.75rem;
  text-align: center;
}
