/* Styles for Wajeez website */

/* Base transitions */
* {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  font-family: 'Tajawal', 'Arial', sans-serif;
}

body {
  min-height: 100vh;
  background-color: #1a237e;
  background-image: linear-gradient(135deg, #1a237e 0%, #283593 50%, #303f9f 100%);
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.cloud-animation {
  animation: float 3s ease-in-out infinite;
  padding-top: 10px;
  margin-top: 10px;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.pulse {
  animation: pulse 0.5s infinite;
}

/* Device icons hover effects */
.device-icon {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.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(#c62828 1px, transparent 1px),
    radial-gradient(#e53935 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: #c62828;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.1);
}

/* Button hover effects */
button[type="submit"] {
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(198, 40, 40, 0.3);
}

button[type="submit"]:active {
  transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .device-icons-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .dots-pattern {
    background-size: 15px 15px;
  }
}

/* Print styles */
@media print {
  .cloud-animation,
  .device-icons-container,
  .dots-pattern {
    display: none;
  }
}

/* Custom background and theme colors */
body {
  background-color: #1a237e !important; /* Deep blue background */
  color: #ffffff;
}

.bg-gradient-custom {
  background: linear-gradient(135deg, #c62828 0%, #b71c1c 100%);
}
