@import url("https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,400;0,600;0,700;0,900;1,400&display=swap");
/* ===== Base Styles ===== */
* {
  font-family: "Euclid Circular", sans-serif;
}

/* ===== Background Gradient ===== */
.gradient-bg {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 50%, #f0e6f5 100%);
}

/* ===== Glass Card Effect ===== */
.glass-card {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.15);
}

/* ===== Input Focus Effect ===== */
.input-focus:focus {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* ===== Gradient Button ===== */
.btn-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* ===== Floating Background Shapes ===== */
.floating-shapes {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  opacity: 0.1;
  animation: float 15s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
  opacity: 0.08;
}

.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #764ba2 0%, #f093fb 100%);
  border-radius: 50%;
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
  opacity: 0.08;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: 50%;
  left: 10%;
  animation-delay: -10s;
  opacity: 0.08;
}

.shape-4 {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #f093fb 0%, #667eea 100%);
  border-radius: 50%;
  top: 20%;
  right: 15%;
  animation-delay: -7s;
  opacity: 0.06;
}

/* ===== Float Animation ===== */
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

/* ===== Fade In Animation ===== */
.fade-in {
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Link Hover Effect ===== */
.link-hover {
  position: relative;
}

.link-hover::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.link-hover:hover::after {
  width: 100%;
}

/* ===== Password Strength Indicator ===== */
.password-strength {
  height: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.strength-weak {
  background: linear-gradient(to right, #ef4444, #ef4444);
  width: 33%;
}

.strength-medium {
  background: linear-gradient(to right, #ef4444, #f59e0b);
  width: 66%;
}

.strength-strong {
  background: linear-gradient(to right, #ef4444, #f59e0b, #22c55e);
  width: 100%;
}

/* ===== Custom Checkbox ===== */
.checkbox-custom:checked {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
}

/* ===== Form Container Transitions ===== */
.form-container {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-hidden {
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  position: absolute;
}

.form-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
}

/* ===== Slide Animations ===== */
.slide-left {
  animation: slideLeft 0.5s ease-out forwards;
}

.slide-right {
  animation: slideRight 0.5s ease-out forwards;
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(102, 126, 234, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(102, 126, 234, 0.5);
}

/* ===== Notification Styles ===== */
.notification {
  max-width: 400px;
}

.notification.success {
  background-color: #22c55e;
}

.notification.error {
  background-color: #ef4444;
}

/* ===== Spinner Animation ===== */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===== Hidden Utility ===== */
.hidden {
  display: none;
}

/* ===== Scale Transform ===== */
.scale-102 {
  transform: scale(1.02);
}

.login-logo {
  width: auto;
  height: 50px;
}
