/**
 * Floating notch label - Material-style outlined input
 * Label moves into top border notch on focus/fill
 */
:root {
  --notch-focus: #a256f7;
  --notch-glow: rgba(162, 86, 247, 0.25);
}

.float-notch {
  position: relative;
  margin-bottom: 1.25rem;
}

.float-notch input {
  display: block;
  width: 100%;
  padding: 1rem 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--bg-card);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.float-notch label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
}

/* Notch: label floats into top border, background creates cutout */
.float-notch.focused label,
.float-notch.filled label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--notch-focus);
  background: var(--bg-card, #fff);
  padding: 0 6px;
}

[data-theme="dark"] .float-notch.focused label,
[data-theme="dark"] .float-notch.filled label {
  background: var(--bg-card, #1e293b);
}

.float-notch.focused input {
  border-color: var(--notch-focus);
  box-shadow: 0 0 0 3px var(--notch-glow);
  outline: none;
}

.float-notch input::placeholder {
  color: transparent;
}

@media (max-width: 480px) {
  .float-notch input {
    padding: 0.875rem 12px;
  }
}
