/* Start custom CSS for html, class: .elementor-element-e4e44b8 *//* CSS Design System for Crisal IA Glassmorphic Login */

:root {
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Brand Colors matching Crisal IA and Nutrabiotics style */
  --primary-blue: #385DA7;
  --secondary-blue: #8FCCEF;
  --text-dark: #385DA7;
  --text-muted: rgba(56, 93, 167, 0.6);
  --btn-grad-start: #385DA7;
  --btn-grad-end: #FF9082;
  --white-glass: rgba(255, 255, 255, 0.15);
  --border-glass: rgba(255, 255, 255, 0.35);
  --shadow-glass: rgba(31, 38, 135, 0.06);
  
  /* Layout constraints */
  --card-width: 440px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  width: 100%;
  height: 100%;
  font-family: var(--font-family);
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f7f9fb; /* Fallback background color */
}

/* WebGL Background Canvas */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: all;
}

/* App Content Wrapper */
.app-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: var(--card-width);
  padding: 20px;
  pointer-events: none;
}

/* Header & Logo */
.app-header {
  pointer-events: auto;
  animation: fadeInDown 0.8s ease-out;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 4px rgba(56, 93, 167, 0.15));
  animation: hoverFloat 4s ease-in-out infinite;
}

.logo-text {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary-blue);
  letter-spacing: -0.5px;
}

/* Form Container & Glassmorphic Card */
.form-container {
  width: 100%;
  pointer-events: auto;
  animation: scaleUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card {
  width: 100%;
  background: var(--white-glass);
  backdrop-filter: blur(25px) saturate(130%);
  -webkit-backdrop-filter: blur(25px) saturate(130%);
  border: 1.5px solid var(--border-glass);
  border-radius: 28px;
  padding: 40px 36px;
  box-shadow: 
    0 8px 32px 0 var(--shadow-glass),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.glass-card:hover {
  box-shadow: 
    0 16px 48px 0 rgba(31, 38, 135, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.form-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 30px;
  letter-spacing: -0.5px;
  text-align: center;
}

/* Form Inputs Styling */
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-group {
  position: relative;
  width: 100%;
}

.input-group input {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.12);
  border: 1.2px solid rgba(56, 93, 167, 0.25);
  border-radius: 24px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.input-group label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Active States */
.input-group input:focus,
.input-group input:not(:placeholder-shown) {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(56, 93, 167, 0.55);
  box-shadow: 0 0 0 4px rgba(56, 93, 167, 0.08);
  padding: 18px 20px 10px 20px;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
  top: 28%;
  transform: translateY(-50%) scale(0.8);
  left: 16px;
  color: var(--primary-blue);
  font-weight: 500;
}

/* Age Select Group */
.select-group {
  width: 100%;
}

.select-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.select-label {
  position: absolute;
  left: 20px;
  font-size: 15px;
  color: var(--text-muted);
  pointer-events: none;
  font-weight: 400;
}

.select-wrapper select {
  width: 100%;
  padding: 14px 45px 14px 80px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.12);
  border: 1.2px solid rgba(56, 93, 167, 0.25);
  border-radius: 24px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  text-align-last: right;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}

.select-wrapper select:focus {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(56, 93, 167, 0.55);
  box-shadow: 0 0 0 4px rgba(56, 93, 167, 0.08);
}

.select-arrow {
  position: absolute;
  right: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-dark);
  border-bottom: 2px solid var(--text-dark);
  transform: rotate(45deg);
  pointer-events: none;
  transition: transform 0.3s ease;
}

.select-wrapper select:focus ~ .select-arrow {
  transform: rotate(-135deg) translateY(-2px);
}

/* Custom Checkbox */
.checkbox-group {
  margin: 8px 4px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 18px;
  width: 18px;
  background: rgba(255, 255, 255, 0.2);
  border: 1.2px solid rgba(56, 93, 167, 0.35);
  border-radius: 5px;
  margin-right: 10px;
  display: inline-block;
  position: relative;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.checkbox-container:hover input ~ .checkmark {
  background: rgba(255, 255, 255, 0.45);
  border-color: var(--primary-blue);
}

.checkbox-container input:checked ~ .checkmark {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-text {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 400;
  opacity: 0.95;
}

/* Submit Button with animated gradient */
.submit-button {
  margin-top: 15px;
  width: 100%;
  padding: 14px;
  border-radius: 24px;
  border: none;
  background: linear-gradient(135deg, var(--btn-grad-start), var(--btn-grad-end));
  background-size: 150% 150%;
  color: white;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 144, 130, 0.2);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.submit-button span {
  position: relative;
  z-index: 2;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 144, 130, 0.35);
  background-position: right center;
}

.submit-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(255, 144, 130, 0.25);
}

/* Micro-animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUpFade {
  from {
    opacity: 0;
    transform: scale(0.66);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hoverFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-2px) rotate(3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Mobile responsive fixes */
@media (max-width: 480px) {
  :root {
    --card-width: 100%;
  }
  .glass-card {
    padding: 30px 24px;
    border-radius: 24px;
  }
  .form-title {
    font-size: 24px;
  }
}/* End custom CSS */