#aob-agenda-root {
  --aoba-brand: #AF332F;
  max-width: 480px;
  margin: 0 auto;
  font-family: inherit;
  color: #222;
}
.aoba-step h3 {
  margin: 0 0 16px;
  font-size: 1.25em;
}
.aoba-loading, .aoba-empty {
  text-align: center;
  padding: 24px 0;
  color: #666;
}
.aoba-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.aoba-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 1em;
  text-align: left;
  /* This is a <button> -- many themes ship their own default button
     styling (often white text) that beats plain inheritance from
     #aob-agenda-root's color, since a rule that targets the element
     directly always wins over one just inherited from an ancestor.
     Found live 2026-08-18: white service-name text on this white
     background, invisible except for the duration span next to it
     (which had its own explicit color and was fine). */
  color: #222;
}
.aoba-option:hover, .aoba-option:focus {
  border-color: var(--aoba-brand);
}
.aoba-option-name {
  color: #222;
}
.aoba-option-meta {
  color: #777;
  font-size: 0.9em;
  white-space: nowrap;
}
.aoba-days {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.aoba-day {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: #fff;
  color: #222;
  cursor: pointer;
  white-space: nowrap;
}
.aoba-day.active {
  background: var(--aoba-brand);
  color: #fff;
  border-color: var(--aoba-brand);
}
.aoba-times {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.aoba-time {
  padding: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #222;
  cursor: pointer;
}
.aoba-time:hover, .aoba-time:focus {
  border-color: var(--aoba-brand);
  color: var(--aoba-brand);
}
#aoba-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
#aoba-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9em;
  color: #444;
}
#aoba-form input {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}
.aoba-marketing-check {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
}
.aoba-marketing-check input {
  width: auto;
  flex: 0 0 auto;
}
.aoba-summary {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
}
.aoba-submit {
  padding: 12px;
  border: none;
  border-radius: 8px;
  /* Real fallback, not just belt-and-braces -- the JS also sets this
     inline per-render, but a theme's own button reset can beat an inline
     style if it uses !important, leaving white text with no background
     underneath it (found live 2026-08-18: "letras blancas fondo blanco"). */
  background: var(--aoba-brand);
  color: #fff;
  font-size: 1em;
  cursor: pointer;
}
.aoba-submit:disabled {
  opacity: 0.6;
  cursor: default;
}
.aoba-back {
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  padding: 4px 0;
  font-size: 0.9em;
}
.aoba-confirmation {
  text-align: center;
}
.aoba-note {
  color: #666;
  font-size: 0.9em;
}
.aoba-manage-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.aoba-manage-actions button {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.aoba-manage-actions .aoba-cancel {
  color: #b3261e;
  border-color: #f0c6c3;
}

@media (max-width: 480px) {
  .aoba-times {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  }
}
