@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

body {
  font-family: "Inter", sans-serif;
}

.glass-effect {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.security-shield {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
}

.security-shield::before {
  content: "";
  position: absolute;
  width: 48px;
  height: 56px;
  background: currentColor;
  clip-path: polygon(50% 0%, 0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%);
  border-radius: 2px;
}

.security-shield::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 24px;
  font-weight: bold;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float-shapes 8s ease-in-out infinite;
}

.shape:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.shape:nth-child(3) {
  top: 40%;
  left: 20%;
  animation-delay: 4s;
}

.shape:nth-child(4) {
  top: 80%;
  left: 60%;
  animation-delay: 6s;
}

.login-container {
  transform: perspective(1000px) rotateY(0deg);
  transition: all 0.3s ease;
}

.login-container:hover {
  transform: perspective(1000px) rotateY(2deg) translateZ(20px);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.1);
}

.input-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-field {
  transition: all 0.3s ease;
  transform: translateZ(0);
}

.input-field:focus {
  transform: translateZ(10px);
  box-shadow: 0 10px 20px rgba(30, 64, 175, 0.1);
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 10;
}

.password-toggle:hover {
  background-color: rgba(59, 130, 246, 0.1);
  transform: translateY(-50%) scale(1.1);
}

.password-toggle svg {
  transition: all 0.3s ease;
}

.password-toggle:hover svg {
  color: #3b82f6;
}

.btn-3d {
  position: relative;
  transform: translateZ(0);
  transition: all 0.3s ease;
}

.btn-3d:hover {
  transform: translateZ(10px);
  box-shadow: 0 15px 30px rgba(30, 64, 175, 0.3);
}

.btn-3d:active {
  transform: translateZ(5px);
  box-shadow: 0 8px 16px rgba(30, 64, 175, 0.2);
}

/* Custom animations for Tailwind CLI */
@keyframes float-shapes {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes slide-in {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse-slow {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes float-icon {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-slide-in {
  animation: slide-in 0.8s ease-out;
}

.animate-fade-in {
  animation: fade-in 1s ease-out;
}

.animate-pulse-slow {
  animation: pulse-slow 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce-slow {
  animation: bounce-slow 3s infinite;
}

.animate-float {
  animation: float-icon 6s ease-in-out infinite;
}

@media (max-width: 768px) {
  .medical-cross::before {
    width: 36px;
    height: 9px;
  }

  .medical-cross::after {
    width: 9px;
    height: 36px;
  }

  .medical-cross {
    width: 48px;
    height: 48px;
  }
}
