/* Styles for Noorplay website */

/* Base transitions */
* {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.green-box {
  color: green;
}
.cloud-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 2s infinite;
}
.logo-container {
  margin: 0.6rem 0;
  max-width: 180px;
  text-align: center;
}

.logo-container img {
  width: 100%;
  margin: auto;
}
/* Device icons hover effects */
.device-icon {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.img-wrapper {
  text-align: center;
}
.img-wrapper img {
  max-width: 500px;
  margin: auto;
}
img {
  width: 100%;
}
.error-box {
  background: #ffb4bc80;
  color: #f6051d;
  font-weight: 600;
  font-size: 14px;
}
.modren-card {
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 1rem 2rem;
  max-width: 500px;
  width: 100%;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
#phoneForm #form-title {
  font-size: 16px;
  color: #666;
}
.device-icon:hover {
  transform: translateY(-5px) !important;
  filter: brightness(1.2);
}

/* Background patterns */
.dots-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(currentColor 1px, transparent 1px),
    radial-gradient(currentColor 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.05;
  pointer-events: none;
  z-index: -1;
}

/* Form focus effects */
#phoneInputContainer:focus-within,
#pinInputContainer:focus-within {
  border-color: currentColor;
  box-shadow: 0 6px 8px rgba(99, 102, 241, 0.3);
}

/* Button hover effects */
button[type="submit"] {
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(99, 102, 241, 0.3);
}

button[type="submit"]:active {
  transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  body {
    padding: 0.5rem;
    min-height: 100vh;
    overflow-x: hidden;
  }

  .container {
    min-height: auto !important;
    padding: 1rem 0;
  }

  .device-icons-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .device-icon svg {
    width: 2rem;
    height: 2rem;
  }

  .dots-pattern {
    background-size: 15px 15px;
  }

  /* Hide banner on mobile to save space */
  .banner-container {
    display: none !important;
  }

  /* Ensure legal disclaimer is visible */
  .text-\[9px\] {
    font-size: 10px !important;
    line-height: 1.3 !important;
  }

  /* Better spacing for mobile */
  .logo-container {
    margin: 0.6rem 0;
  }

  .logo-container img {
    width: 100%;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  body {
    padding: 0.25rem;
  }

  .container {
    padding: 0.5rem;
  }

  .text-\[9px\] {
    font-size: 9px !important;
    line-height: 1.2 !important;
  }

  .logo-container {
    height: 60px;
  }

  .logo-container img {
    max-height: 60px;
  }

  .max-w-xs {
    max-width: 14rem;
  }

  /* Smaller device icons for very small screens */
  .device-icon svg {
    width: 2.15rem;
    height: 2.15rem;
  }
  .device-icon {
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* Print styles */
@media print {
  .cloud-animation,
  .device-icons-container,
  .dots-pattern {
    display: none;
  }
}
.red-button {
  background: #f8293d;
}
.red-button:hover {
  background: #f6051d;
}
/* Custom background and theme colors - removed hardcoded background */
body {
  background: #0064ff;
  background: linear-gradient(
    180deg,
    rgba(0, 100, 255, 1) 0%,
    rgba(120, 160, 255, 1) 100%
  );

  /* Background color now controlled by theme classes */
  /* color: #e2e8f0; */
  /* background-image: radial-gradient(
    circle farthest-corner at -5.6% -6.8%,
    rgba(103, 49, 145, 1) 37.3%,
    rgba(50, 0, 129, 1) 73.5%
  ); */
  /* background-image: url("images/bg-wall.jpg");
  background-size: cover;
  background-position: top center; */
}

/* This class is now replaced with theme-based gradients */
