/* Version: 1.0.3 */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  font-family: "Onest", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* CSS Custom Properties for animatable angles (from public/Demo/demo.css) */
@property --angle-1 {
  syntax: "<angle>";
  inherits: false;
  initial-value: 90deg;
}

@property --angle-2 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -45deg;
}

@property --border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 135deg;
}

body {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 80% at 20% 40%, rgba(196, 183, 214, 0.4) 0%, transparent 50%), radial-gradient(ellipse 60% 60% at 50% 50%, rgba(245, 200, 220, 0.3) 0%, transparent 50%), radial-gradient(ellipse 70% 70% at 75% 60%, rgba(255, 200, 160, 0.35) 0%, transparent 50%), #fcf5e2;
}

button {
  font: inherit;
  cursor: pointer;
}

/* Match Demo reset closer (prevents UA styles affecting glass) */
button,
textarea {
  border: none;
  outline: none;
  background: none;
}

.home-content-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 14vh 40px 40px;
  pointer-events: none; /* allow canvas clicks except interactive controls */
  text-align: center;
}


.makeboard-logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  pointer-events: none;
}

.makeboard-logo {
  width: 35px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(13%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
}

.makeboard-text {
  font-weight: 600;
  font-size: 22px;
  color: #222;
  font-family: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.greeting-text {
  width: 100%;
  max-width: 600px;
  font-size: 48px;
  font-family: "Sentient", "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.1;
  font-weight: 400;
  color: #2d3a2e;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  pointer-events: none;
}

.detail-text {
  width: 100%;
  max-width: 600px;
  font-family: "Satoshi", "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(22px, 1.375rem, 24px);
  line-height: 1.5;
  font-weight: 450;
  color: rgba(45, 58, 46, 0.78);
  margin: 0 0 30px;
  pointer-events: none;
}

.ai-chat-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ai-chat-input-container {
  width: 100%;
  max-width: 600px;
}

.ai-chat-gradient-container,
.ai-chat-prompt-preview {
  display: none;
}

.white-filter {
  filter: invert(1);
}

/* =========================
   GLASSMORPHIC INPUT STYLES
   (extracted from public/Demo/demo.css)
   ========================= */

.home-input-wrap {
  z-index: 2;
  pointer-events: none;
  background: transparent;
  border-radius: 999vw;
  width: 100%;
  max-width: 600px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
}

.home-input-shadow {
  --shadow-cuttoff-fix: 2em;
  width: calc(100% + var(--shadow-cuttoff-fix));
  height: calc(100% + var(--shadow-cuttoff-fix));
  top: calc(0% - var(--shadow-cuttoff-fix) / 2);
  left: calc(0% - var(--shadow-cuttoff-fix) / 2);
  filter: blur(clamp(5px, 0.35em, 20px));
  pointer-events: none;
  position: absolute;
  overflow: visible;
}

.home-input-shadow::after {
  content: "";
  z-index: 0;
  width: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
  height: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
  inset: 0;
  top: calc(var(--shadow-cuttoff-fix) - 0.5em);
  left: calc(var(--shadow-cuttoff-fix) - 0.875em);
  box-sizing: border-box;
  opacity: 1;
  background:
    conic-gradient(
      from 180deg at 50% 50%,
      rgba(255, 80, 80, 0.15),
      rgba(255, 150, 50, 0.15),
      rgba(220, 180, 0, 0.15),
      rgba(50, 180, 50, 0.15),
      rgba(0, 160, 180, 0.15),
      rgba(80, 80, 255, 0.15),
      rgba(180, 60, 255, 0.15),
      rgba(255, 80, 80, 0.15)
    ),
    linear-gradient(#0002, #00000012);
  border-radius: 999vw;
  padding: 0.25em;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: absolute;
  overflow: visible;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-position: 0 0, 0 0;
  mask-position: 0 0, 0 0;
  -webkit-mask-size: auto, auto;
  mask-size: auto, auto;
  -webkit-mask-repeat: repeat, repeat;
  mask-repeat: repeat, repeat;
  -webkit-mask-clip: content-box, border-box;
  mask-clip: content-box, border-box;
  -webkit-mask-origin: content-box, border-box;
  mask-origin: content-box, border-box;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.glassmorphic-input {
  --shimmer-angle: 105deg;
  --shimmer-band-start: 66%;
  --shimmer-band-end: 80%;
  --border-width: clamp(1px, 0.0625em, 4px);

  pointer-events: auto;
  z-index: 3;
  -webkit-backdrop-filter: blur(clamp(5px, calc(0.125em + 4px), 8px));
  backdrop-filter: blur(clamp(5px, calc(0.125em + 4px), 8px));
  background: linear-gradient(-75deg, #ffffff4d, #ffffff59, #ffffff4d);
  border-radius: 999vw;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 58px;
  padding: 5px 10px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  box-shadow:
    inset 0 0.2em 0.2em #0000000d,
    inset 0 -0.125em 0.125em #ffffff80,
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.17),
    inset 0 0 0.15em 0.35em #fff3,
    0 0 #fff;
}

/* Responsive shimmer fallbacks (from public/Demo/demo.css) */
@media (max-width: 600px) {
  .glassmorphic-input {
    --shimmer-angle: 101deg;
    --shimmer-band-start: 65%;
    --shimmer-band-end: 79%;
  }
}
@media (min-width: 1000px) {
  .glassmorphic-input {
    --shimmer-angle: 109deg;
    --shimmer-band-start: 67%;
    --shimmer-band-end: 81%;
  }
}
@media (min-width: 1200px) {
  .glassmorphic-input {
    --shimmer-angle: 113deg;
    --shimmer-band-start: 69%;
    --shimmer-band-end: 83%;
  }
}
@media (min-width: 1400px) {
  .glassmorphic-input {
    --shimmer-angle: 116deg;
    --shimmer-band-start: 70%;
    --shimmer-band-end: 84%;
  }
}

/* Force pseudo-element initialization when panel becomes active */
.ai-chat-panel.active .glassmorphic-input {
  animation: init-glassmorphic 0.3s ease-out;
}

@keyframes init-glassmorphic {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glassmorphic-input:hover,
.glassmorphic-input:focus-within {
  -webkit-backdrop-filter: blur(calc(0.01em + 4px));
  backdrop-filter: blur(calc(0.01em + 4px));
  background: linear-gradient(-75deg, #00000003, #00000002, #00000003),
    linear-gradient(-75deg, #ffffff33, #ffffff4d, #ffffff33);
  box-shadow:
    inset 0 0.2em 0.2em #0000000d,
    inset 0 -0.125em 0.125em #ffffff4d,
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.27),
    inset 0 0 0.15em 0.35em #ffffff4d,
    0 0 #fff;
}

.glassmorphic-input::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    var(--shimmer-angle),
    transparent 0%,
    transparent var(--shimmer-band-start),
    rgba(255, 255, 255, 1) calc(var(--shimmer-band-start) + 2%),
    rgba(255, 255, 255, 1) calc(var(--shimmer-band-end) - 2%),
    transparent var(--shimmer-band-end),
    transparent 100%
  );
  background-size: 140% 100%;
  background-position: 0% 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.15;
  transition: background-position 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.glassmorphic-input:hover::before {
  background-position: 30% 0;
  opacity: 0.3;
}

.glassmorphic-input::after {
  --border-angle: 135deg;
  content: "";
  z-index: 1;
  width: calc(100% + var(--border-width));
  height: calc(100% + var(--border-width));
  inset: 0;
  top: calc(0% - var(--border-width) / 2);
  left: calc(0% - var(--border-width) / 2);
  padding: var(--border-width);
  box-sizing: border-box;
  background:
    linear-gradient(
      var(--border-angle),
      transparent 0%,
      #00000050 3%,
      transparent 6%,
      transparent 94%,
      #00000050 97%,
      transparent 100%
    ),
    linear-gradient(180deg, #ffffff80, #ffffff80);
  box-shadow: inset 0 0 0 calc(var(--border-width) / 2) #ffffff80;
  border-radius: 999vw;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1), --border-angle 0.5s;
  position: absolute;
  pointer-events: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-position: 0 0, 0 0;
  mask-position: 0 0, 0 0;
  -webkit-mask-size: auto, auto;
  mask-size: auto, auto;
  -webkit-mask-repeat: repeat, repeat;
  mask-repeat: repeat, repeat;
  -webkit-mask-clip: content-box, border-box;
  mask-clip: content-box, border-box;
  -webkit-mask-origin: content-box, border-box;
  mask-origin: content-box, border-box;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  /* Improve rendering quality (from public/Demo/demo.css) */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateZ(0);
  will-change: transform;
}

.glassmorphic-input:hover::after,
.glassmorphic-input:focus-within::after {
  --border-angle: 45deg;
  --border-width: clamp(1.5px, 0.1em, 6px);
}

.glassmorphic-input .home-input-field {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 16px;
  color: #323232;
  padding: 0;
  z-index: 2;
  resize: none;
  -webkit-resize: none;
  -moz-resize: none;
  -ms-resize: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-height: 1.25em;
  height: auto;
}

.glassmorphic-input .home-input-field::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.glassmorphic-input .home-input-field::-webkit-scrollbar-corner {
  display: none;
  background: transparent;
}

.glassmorphic-input .home-input-field::placeholder {
  color: #32323280;
}

.glassmorphic-input .home-input-attach-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  z-index: 2;
  color: #323232;
  font-weight: 700;
}

.glassmorphic-input .home-input-attach-btn:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}

.glassmorphic-input .home-input-attach-btn i {
  font-size: 24px;
  color: #323232;
}

.glassmorphic-input .home-input-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

/* History / accept / options buttons (usually hidden via inline display:none) */
.glassmorphic-input .history-nav-button,
.glassmorphic-input .accept-changes-button,
.glassmorphic-input .ai-chat-mode-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.glassmorphic-input .history-nav-button i,
.glassmorphic-input .accept-changes-button i {
  font-size: 22px;
  color: #323232;
}

.glassmorphic-input .ai-chat-mode-toggle img {
  width: 18px;
  height: 18px;
}

/* Slider toggle styling (from public/Demo/demo.css) */
.glassmorphic-input .home-input-slider-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 24px;
  background: white;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}

.glassmorphic-input .home-input-slider-toggle:active,
.glassmorphic-input .home-input-slider-toggle:focus {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.glassmorphic-input .home-input-slider-toggle:hover {
  background: white;
  box-shadow: none;
}

.glassmorphic-input .slider-toggle-input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.glassmorphic-input .slider-toggle-slider {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  cursor: pointer;
}

.glassmorphic-input .slider-toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  height: calc(100% - 4px);
  width: calc(50% - 2px);
  background: #222;
  border-radius: 22px;
  transition: transform 0.28s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
  transform: translateX(0);
  box-shadow:
    inset 0 0.1em 0.1em rgba(255, 255, 255, 0.1),
    inset 0 -0.1em 0.1em rgba(0, 0, 0, 0.2),
    0 0.1em 0.2em rgba(0, 0, 0, 0.1);
}

.glassmorphic-input .slider-toggle-option {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.glassmorphic-input .slider-toggle-icon {
  display: none;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  object-fit: contain;
  transition: filter 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.glassmorphic-input .slider-toggle-option[data-option="email"] .slider-toggle-icon {
  width: 20px;
  height: 20px;
}

.glassmorphic-input .slider-toggle-option[data-option="phone"] .slider-toggle-icon {
  width: 20px;
  height: 20px;
}

.glassmorphic-input .slider-toggle-text {
  display: inline;
}

/* Default state: Email selected */
.glassmorphic-input .slider-toggle-option[data-option="email"] {
  color: white;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.2);
}
.glassmorphic-input .slider-toggle-option[data-option="phone"] {
  color: #323232;
  text-shadow: 0 0.5px 1px rgba(255, 255, 255, 0.3);
}

/* Checked state: Phone selected */
.glassmorphic-input .slider-toggle-input:checked + .slider-toggle-slider::before {
  transform: translateX(100%);
}

.glassmorphic-input .slider-toggle-input:checked + .slider-toggle-slider .slider-toggle-option[data-option="email"] {
  color: #323232;
  text-shadow: 0 0.5px 1px rgba(255, 255, 255, 0.3);
}
.glassmorphic-input .slider-toggle-input:checked + .slider-toggle-slider .slider-toggle-option[data-option="email"] .slider-toggle-icon {
  filter: none;
}
.glassmorphic-input .slider-toggle-input:checked + .slider-toggle-slider .slider-toggle-option[data-option="phone"] {
  color: white;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.2);
}
.glassmorphic-input .slider-toggle-input:checked + .slider-toggle-slider .slider-toggle-option[data-option="phone"] .slider-toggle-icon {
  filter: brightness(0) invert(1);
}
/* Email icon white when unchecked (default active) */
.glassmorphic-input .slider-toggle-input:not(:checked) + .slider-toggle-slider .slider-toggle-option[data-option="email"] .slider-toggle-icon {
  filter: brightness(0) invert(1);
}
.glassmorphic-input .slider-toggle-input:not(:checked) + .slider-toggle-slider .slider-toggle-option[data-option="phone"] .slider-toggle-icon {
  filter: none;
}

.glassmorphic-input .slider-toggle-input:focus + .slider-toggle-slider {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.glassmorphic-input .slider-toggle-input:active + .slider-toggle-slider,
.glassmorphic-input .slider-toggle-slider:active {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.glassmorphic-input .home-input-mic-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  color: #323232;
  font-size: 16px;
}

.glassmorphic-input .home-input-mic-btn:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  background: #ffffff;
  opacity: 0.9;
}

.glassmorphic-input .home-input-mic-btn i {
  font-size: 20px;
  color: #323232;
}

.glassmorphic-input .home-input-send-btn {
  width: 44px;
  height: 44px;
  background: #222;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}

.glassmorphic-input .home-input-send-btn:active,
.glassmorphic-input .home-input-send-btn:focus {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.glassmorphic-input .home-input-send-btn:hover {
  background: #4a4a4a;
  transform: scale(1.05);
}

.glassmorphic-input .home-input-send-btn svg {
  width: 20px;
  height: auto;
  margin-top: 2px;
  margin-left: 2px;
}

.home-input-wrap:has(.glassmorphic-input:hover) .home-input-shadow,
.home-input-wrap:has(.glassmorphic-input:focus-within) .home-input-shadow {
  filter: blur(clamp(8px, 0.5em, 24px));
  transition: filter 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover/Focus glow tweak (from public/Demo/demo.css) */
.home-input-wrap:has(.glassmorphic-input:hover) .home-input-shadow::after,
.home-input-wrap:has(.glassmorphic-input:focus-within) .home-input-shadow::after {
  top: calc(var(--shadow-cuttoff-fix) - 0.75em);
  opacity: 1;
  background:
    conic-gradient(
      from 180deg at 50% 50%,
      rgba(255, 80, 80, 0.08),
      rgba(255, 150, 50, 0.08),
      rgba(220, 180, 0, 0.08),
      rgba(50, 180, 50, 0.08),
      rgba(0, 160, 180, 0.08),
      rgba(80, 80, 255, 0.08),
      rgba(180, 60, 255, 0.08),
      rgba(255, 80, 80, 0.08)
    ),
    linear-gradient(#0002, #00000012);
}

/* AI "Thinking..." indicator (hidden by default on homepage) */
.ai-chat-thinking {
  display: none;
  position: absolute;
  right: 18px;
  bottom: -26px;
  font-size: 13px;
  color: rgba(45, 58, 46, 0.8);
  pointer-events: none;
  gap: 4px;
  align-items: center;
}

.ai-chat-thinking .dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 2px;
  background: rgba(45, 58, 46, 0.7);
  border-radius: 50%;
  opacity: 0.25;
  animation: dotWave 1.2s infinite ease-in-out;
}

.ai-chat-thinking .dot:nth-child(2) {
  animation-delay: 0.2s;
}
.ai-chat-thinking .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotWave {
  0%,
  80%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
    filter: blur(1px);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
    filter: blur(0);
  }
}

/* Portrait ratio (height > width) - lower content */
@media (min-aspect-ratio: 1/1) {
  /* Landscape or square */
  @media (max-width: 720px) {
    .home-content-container {
      padding: 10vh 20px 24px;
    }
    .greeting-text {
      font-size: 36px;
    }
    .detail-text {
      font-size: clamp(18px, 1.125rem, 20px);
    }
  }
}

@media (max-aspect-ratio: 1/1) {
  /* Portrait (height > width) */
  .home-content-container {
    padding-top: 22vh;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Very narrow screens (less than 9:16, like 1:2) - most padding */
  @media (max-aspect-ratio: 1/2) {
    .home-content-container {
      padding-top: 15vh;
    }
  }
  
  /* 9:16 aspect ratio and close to it - override with 10vh */
  @media (min-aspect-ratio: 1/2) and (max-aspect-ratio: 9/16) {
    .home-content-container {
      padding-top: 10vh;
    }
  }
  
  @media (max-width: 720px) {
    .greeting-text {
      font-size: 36px;
    }
    .detail-text {
      font-size: clamp(18px, 1.125rem, 20px);
    }
  }
}

@media (max-width: 511px) {
  .glassmorphic-input .home-input-field {
    resize: none !important;
    -webkit-resize: none !important;
    -moz-resize: none !important;
    -ms-resize: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
  }
  
  .glassmorphic-input .home-input-field::-webkit-resizer {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  .glassmorphic-input .home-input-field::-moz-resizer {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  .glassmorphic-input textarea {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
  }
  
  .glassmorphic-input .home-input-field::-webkit-scrollbar-corner {
    display: none !important;
    background: transparent !important;
    width: 0 !important;
    height: 0 !important;
  }
  
  .glassmorphic-input .home-input-field::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  
  /* Icon-based toggle on mobile */
  .glassmorphic-input .slider-toggle-text {
    display: none !important;
  }
  
  .glassmorphic-input .slider-toggle-icon {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
  }
  
  .glassmorphic-input .slider-toggle-option[data-option="email"] .slider-toggle-icon {
    width: 22px !important;
    height: 22px !important;
  }
  
  .glassmorphic-input .slider-toggle-option[data-option="phone"] .slider-toggle-icon {
    width: 20px !important;
    height: 20px !important;
  }
  
  .glassmorphic-input .slider-toggle-option {
    padding: 0 !important;
    gap: 0 !important;
    width: 50%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }
  
  .glassmorphic-input .slider-toggle-option i,
  .glassmorphic-input .slider-toggle-option img {
    display: inline-block !important;
    vertical-align: middle !important;
    line-height: 1 !important;
  }
  
  .glassmorphic-input .home-input-slider-toggle {
    width: 80px;
  }
  
  .glassmorphic-input .slider-toggle-slider::before {
    width: calc(50% - 2px) !important;
  }
  
  .glassmorphic-input .home-input-actions {
    gap: 5px !important;
  }
  
  .detail-text {
    font-size: clamp(16px, 1rem, 18px);
  }
}

/* Small screens - only apply width-based rules for landscape/square */
@media (min-aspect-ratio: 1/1) and (max-width: 420px) {
  .home-content-container {
    padding: 8vh 20px 20px;
  }
  
  .detail-text {
    font-size: clamp(14px, 0.875rem, 16px);
  }
}

/* Very small screens (< 400px) - adjust based on aspect ratio */
@media (max-width: 400px) {
  /* Landscape/short screens - use smaller padding */
  @media (min-aspect-ratio: 1/1) {
    .home-content-container {
      padding-top: 8vh;
    }
  }
  
  /* Portrait/tall screens - default padding, general rule first */
  @media (max-aspect-ratio: 1/1) {
    .home-content-container {
      padding-top: 12vh;
    }
  }
  
  /* Screens between 3/4 and 1/1 (less tall portrait) */
  @media (min-aspect-ratio: 3/4) and (max-aspect-ratio: 1/1) {
    .home-content-container {
      padding-top: 10vh;
    }
  }
  
  /* Screens between 9/16 and 3/4 (medium tall) */
  @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
    .home-content-container {
      padding-top: 10vh;
    }
  }
  
  /* Very narrow screens (less than 9:16, like 1:2) - most padding */
  @media (max-aspect-ratio: 1/2) {
    .home-content-container {
      padding-top: 15vh;
    }
  }
  
  /* 9:16 aspect ratio and close to it - 10vh */
  @media (min-aspect-ratio: 1/2) and (max-aspect-ratio: 9/16) {
    .home-content-container {
      padding-top: 10vh;
    }
  }
}

