/* Dark-mode select styling scoped to data-theme="dark" */
[data-theme="dark"] select,
select.al-input-dark {
  color-scheme: dark;
  width: 100%;
  padding: 14px 18px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
  outline: none;
  cursor: pointer;
}

[data-theme="dark"] select:focus,
select.al-input-dark:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(78, 231, 240, 0.15);
  background: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] select option {
  background-color: #0d1b2f;
  color: #f7fbff;
  padding: 8px 12px;
}

[data-theme="dark"] select option:hover,
[data-theme="dark"] select option:focus,
[data-theme="dark"] select option:active,
[data-theme="dark"] select option:checked {
  background-color: rgba(255, 255, 255, 0.06);
  color: #4ee4f6;
}

[data-theme="dark"] select::-webkit-scrollbar { width: 8px; }
[data-theme="dark"] select::-webkit-scrollbar-track { background: #0d1b2f; }
[data-theme="dark"] select::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 4px; }

[data-theme="dark"] select {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) #0d1b2f;
}

/* File input dark styling */
input[type="file"].al-input-dark,
[data-theme="dark"] input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
  outline: none;
}

input[type="file"].al-input-dark:focus,
[data-theme="dark"] input[type="file"]:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(78, 231, 240, 0.15);
  background: rgba(255, 255, 255, 0.09);
}

/* Textarea dark styling */
textarea.al-input-dark,
[data-theme="dark"] textarea {
  width: 100%;
  padding: 14px 18px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
  outline: none;
  resize: vertical;
  min-height: 120px;
}

textarea.al-input-dark:focus,
[data-theme="dark"] textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(78, 231, 240, 0.15);
  background: rgba(255, 255, 255, 0.09);
}

textarea.al-input-dark::placeholder,
[data-theme="dark"] textarea::placeholder {
  color: rgba(174, 187, 208, 0.5);
}
