/* Glassmorphism Base Styles */
:root {
  --glass-bg: rgba(15, 23, 42, 0.45);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --glass-shadow: rgba(0, 0, 0, 0.15);
  --primary-color: #38bdf8;
  --hover-color: #7dd3fc;
}

.gradient-background {
  background: linear-gradient(135deg, #1a237e 0%, #006064 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated Background Elements */
.gradient-background::before,
.gradient-background::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 20s infinite linear;
}

.gradient-background::before {
  top: -150px;
  left: -150px;
}

.gradient-background::after {
  bottom: -150px;
  right: -150px;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(100px, 100px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}

/* Enhanced Glass Card */
.card-background {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 
    0 8px 32px 0 var(--glass-shadow),
    inset 0 0 0 1px var(--glass-border);
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-background:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px 0 var(--glass-shadow),
    inset 0 0 0 1px var(--glass-border);
}

/* Enhanced Input Fields */
.custom-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: white;
  transition: all 0.3s ease;
}

.custom-input:focus {
  background: var(--glass-highlight);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
  transform: translateY(-1px);
}

.custom-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Enhanced Button */
.gradient-button {
  background: linear-gradient(90deg, var(--primary-color) 0%, #0ea5e9 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gradient-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.gradient-button:hover::before {
  left: 100%;
}

.gradient-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

/* Custom Checkbox */
.checkbox-custom {
  accent-color: var(--primary-color);
  transition: all 0.3s ease;
}

.checkbox-custom:checked {
  transform: scale(1.1);
}

/* Links */
.text-primary {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.text-hover-primary:hover {
  color: var(--hover-color);
}