/* Styles for Noorplay website */

/* Base transitions */
* {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

body {
  background: hsla(339, 100%, 55%, 1);
  position: relative;
  background: linear-gradient(
    90deg,
    hsla(339, 100%, 55%, 1) 0%,
    hsla(197, 100%, 64%, 1) 100%
  );

  background: -moz-linear-gradient(
    90deg,
    hsla(339, 100%, 55%, 1) 0%,
    hsla(197, 100%, 64%, 1) 100%
  );

  background: -webkit-linear-gradient(
    90deg,
    hsla(339, 100%, 55%, 1) 0%,
    hsla(197, 100%, 64%, 1) 100%
  );

  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#FF1B6B", endColorstr="#45CAFF", GradientType=1 );
  color: black;
}
body::before {
  content: "";
  background-image: url("images/texture_image.png");
  background-position: top center;
  background-size: cover;
  position: absolute;
  inset: 0;
}

@keyframes pulseBtn {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulseBtn 2s infinite;
}
.logo-container {
  margin: 0.6rem 0;
  max-width: 180px;
  text-align: center;
}

.logo-container img {
  width: 70%;
  margin: auto;
  filter: drop-shadow(0.1rem 0.2rem 0.1rem #000);
}
/* Device icons hover effects */
.device-icon {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.img-wrapper {
  text-align: center;
}
.error-box {
  background: #ffb4bc80;
  color: #f6051d;
  font-weight: 600;
  font-size: 14px;
}

#phoneForm #form-title {
  font-size: 16px;
  color: #666;
}
.device-icon:hover {
  transform: translateY(-5px) !important;
  filter: brightness(1.2);
}

/* 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);
}

.red-button {
  background: #f8293d;
}
.red-button:hover {
  background: #f6051d;
}
