/*
  Base styles shared across board pages
  Keep selectors scoped to .sbr2-* to avoid leaking into theme styles
*/

.sbr2-board { max-width: 1700px; margin: 0 auto; padding: 0 15px; }

/* Notices */
.sbr2-notice { background:#f6fafd; border:1px solid #d2e7f7; color:#066AAF; padding:10px 12px; border-radius:4px; margin-bottom:12px; }
.sbr2-error { background:#fff4f4; border:1px solid #ffd6d6; color:#b00; padding:10px 12px; border-radius:4px; margin-bottom:12px; margin-top: 20px; margin-bottom: 20px; }

/* Shared actions row */
.sbr2-actions { display:flex; justify-content:flex-end; gap:10px; margin:20px 0; }

/* -------------------------------------------------------------------------- */
/* Password form (shared across view/edit)                                     */
/* -------------------------------------------------------------------------- */

.sbr2-password {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 15px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

.sbr2-password__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.sbr2-password__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
}

.sbr2-password__field {
  display: flex;
  align-items: stretch;
  min-height: 60px;
  border-top: 2px solid #000;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
}

.sbr2-password__label {
  width: 180px;
  flex-shrink: 0;
  background-color: #fbf6fa;
  display: flex;
  align-items: center;
  padding: 0 20px;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  margin: 0;
}

.sbr2-password__input {
  width: 300px;
  max-width: 100%;
  height: 40px;
  margin: auto 20px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 2px;
  font-size: 14px;
  background-color: #fff;
}

.sbr2-password__input:focus {
  outline: none;
  border-color: #9c2e7a;
  box-shadow: 0 0 0 2px rgba(156, 46, 122, 0.15);
}

.sbr2-password__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sbr2-password__button {
  width: 180px;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #ccc;
  background-color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sbr2-password__button:hover {
  box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 8px 0px;
}

.sbr2-password__button--list:hover {
  background-color: #f5f5f5;
}

.sbr2-password__button--submit {
  background-color: #9c2e7a;
  color: #fff;
  border-color: #9c2e7a;
}

.sbr2-password__button--submit:hover {
  background-color: #7d2461;
  border-color: #7d2461;
  color: #fff;
}

.sbr2-password__button:focus-visible {
  outline: 3px solid rgba(156, 46, 122, 0.25);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .sbr2-password {
    padding: 30px 15px;
  }

  .sbr2-password__field {
    flex-direction: column;
  }

  .sbr2-password__label {
    width: 100%;
    padding: 12px 15px;
  }

  .sbr2-password__input {
    width: calc(100% - 30px);
    margin: 12px 15px 15px;
  }

  .sbr2-password__buttons {
    flex-direction: column;
    gap: 10px;
  }

  .sbr2-password__button {
    width: 100%;
  }
}
