/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Toggle Switch */
.gh-toggle {
  appearance: none;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #e8e4d9;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
  flex-shrink: 0;
}
.gh-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.gh-toggle:checked {
  background: #1b4332;
}
.gh-toggle:checked::after {
  transform: translateX(20px);
  background: #e9c46a;
}
.gh-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}
