/* TBC Safe Ceremonies — front end (modal, report links, Kadence header account area) */

/* ---------- report / request modal ---------- */
.tbc-sc-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; }
.tbc-sc-modal[hidden] { display: none; }
.tbc-sc-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.tbc-sc-dialog { position: relative; width: min(480px, calc(100% - 32px)); background: #fff; color: #222; border-radius: 10px; padding: 24px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.tbc-sc-dialog h3 { margin: 0 24px 16px 0; font-size: 1.15rem; }
.tbc-sc-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #666; }
.tbc-sc-field { display: block; margin-bottom: 14px; }
.tbc-sc-field[hidden] { display: none; }
.tbc-sc-field > span { display: block; font-weight: 600; margin-bottom: 4px; font-size: .9rem; }
.tbc-sc-field small { display: block; margin-top: 4px; color: #666; }
.tbc-sc-field select, .tbc-sc-field textarea { width: 100%; box-sizing: border-box; }
.tbc-sc-status { min-height: 1.2em; margin: 0 0 10px; font-size: .9rem; }
body.tbc-sc-modal-open { overflow: hidden; }

.tbc-sc-open.disabled { pointer-events: none; opacity: .5; }
.tbc-sc-user-report { font-size: .7em; vertical-align: middle; margin-left: 6px; opacity: .6; }
.tbc-sc-user-report:hover { opacity: 1; }

/* ---------- Kadence header: desktop ---------- */
.tbc-sc-account { position: relative; display: flex; align-items: center; margin-left: 16px; }
.tbc-sc-account__trigger { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 999px; text-decoration: none; color: inherit; background: none; border: 0; cursor: pointer; font: inherit; }
.tbc-sc-account__trigger:hover { background: rgba(0, 0, 0, .06); }
.tbc-sc-account__trigger img { border-radius: 50%; width: 32px; height: 32px; }
.tbc-sc-account__menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 190px; background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); z-index: 9999; overflow: hidden; }
.tbc-sc-account__menu[hidden] { display: none; }
.tbc-sc-account__menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #222; text-decoration: none; }
.tbc-sc-account__menu a:hover { background: #f5f5f5; }
.tbc-sc-account__menu a + a { border-top: 1px solid #f0f0f0; }
.tbc-sc-auth { display: flex; align-items: center; gap: 8px; margin-left: 16px; }
.tbc-sc-auth a { text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: .9em; font-weight: 500; border: 2px solid currentColor; color: inherit; }
.tbc-sc-auth a.tbc-sc-auth__primary { background: var(--global-palette1, #0073aa); border-color: var(--global-palette1, #0073aa); color: #fff; }

/* ---------- Kadence header: mobile drawer ---------- */
.tbc-sc-drawer { padding: 16px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.tbc-sc-drawer--foot { border-bottom: 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.tbc-sc-drawer__user { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 600; }
.tbc-sc-drawer__user img { border-radius: 50%; width: 44px; height: 44px; }
.tbc-sc-drawer__row { display: flex; gap: 8px; }
.tbc-sc-drawer__row a { flex: 1; text-align: center; padding: 10px; border-radius: 8px; text-decoration: none; border: 1px solid currentColor; color: inherit; font-size: .95em; }
.tbc-sc-drawer__row a.tbc-sc-auth__primary { background: var(--global-palette1, #0073aa); border-color: var(--global-palette1, #0073aa); color: #fff; }
@media (max-width: 1024px) { .tbc-sc-account, .tbc-sc-auth { display: none; } }
