/* Styles for Wajeez website */

/* Base transitions */
* {
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

body {
  min-height: 100vh;
  background: hsl(258.51deg 92% 47%);

  background: linear-gradient(
    90deg,
    hsl(258.51deg 92% 47%) 0%,
    hsl(0deg 56.47% 33.04%) 100%
  );

  background: -moz-linear-gradient(
    90deg,
    hsl(258.51deg 92% 47%) 0%,
    hsl(0deg 56.47% 33.04%) 100%
  );

  background: -webkit-linear-gradient(
    90deg,
    hsl(258.51deg 92% 47%) 0%,
    hsl(0deg 56.47% 33.04%) 100%
  );

  filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#5B0FEB", endColorstr="#6B1414", GradientType=1 );
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.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;
}

/* 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);
}
.down-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #000; /* Arrow color */
  position: absolute;
  top: 14px;
  right: 8px;
}
/* Basic dropdown wrapper */
.dropdown.lang-swticher {
  position: absolute;
  display: inline-block;
  right: 10px;
  top: 10px;
  z-index: 100;
}

/* Button styling */
.lang-swticher .dropdown-button {
  background-color: #ffffff; /* Tailwind 'blue-500' */
  color: #000000;
  padding: 8px 25px 8px 8px;
  font-size: 12px;
  text-align: center;
  /* border: none; */
  border-radius: 10px;
  cursor: pointer;
  text-transform: uppercase;
  min-width: 80px;
  border: 2px solid var(--primary);
}
.w-100 {
  width: 100%;
}

/* Dropdown content */
.lang-swticher .dropdown-content {
  display: none;
  position: absolute;
  top: 100%; /* below the button */
  left: 0;
  min-width: 100%;
  background-color: white;
  border: 1px solid #e2e8f0; /* Tailwind 'gray-200' */
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  text-align: center;
  overflow: hidden;
}

/* Individual language links */
.lang-swticher .dropdown-content a {
  color: #000000; /* Tailwind 'gray-800' */
  padding: 2px 12px;
  text-decoration: none;
  font-size: 13px;
  display: block;
  white-space: nowrap;
}
.dropdown:hover .dropdown-content {
  display: block;
}

/* Hover effect */
.lang-swticher .dropdown-content a:hover {
  background-color: #00a9bc;
  color: #ffffff !important;
}
/* Background patterns */
.dots-pattern {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}
.primary-btn {
  background: #e16110;
  color: #ffffff;
  font-size: 18px;
}
.white-box {
  background: transparent;
  padding: 15px;
  border-radius: 20px;
}
.secondary-btn {
  background: #6a6a6a;
}

/* Form focus effects */
#phoneInputContainer:focus-within,
#pinInputContainer:focus-within {
  border-color: #26a69a;
  box-shadow: 0 0 0 3px rgba(38, 166, 154, 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(38, 166, 154, 0.3);
}

button[type="submit"]:active {
  transform: translateY(0);
}

/* Container positioning */
.container {
  position: relative;
  z-index: 1;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .device-icons-container {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.25rem;
  }
  
  .device-icon svg {
    width: 2rem !important;
    height: 2rem !important;
  }

  .dots-pattern {
    background-size: 15px 15px;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .logo-container {
    margin-bottom: 1rem;
  }
  
  .icon-container {
    margin-bottom: 1rem;
  }
}

/* Print styles */
@media print {
  .cloud-animation,
  .device-icons-container,
  .dots-pattern {
    display: none;
  }
}

/* Custom background and theme colors */
/* body {
  background-color: #e0f7fa !important; /* Light teal background 
  color: #263238;
} */

.bg-gradient-custom {
  background: linear-gradient(179deg, #08c5a9 0%, #419809 100%)
}
