/* ─── Base ─────────────────────────────────────────────────────────────────── */

h1        {text-align: center;}
body      {background-color:#000000; margin:0px;}
div, td, .normal {color:#FFFFFF; font-family:Arial; font-size: 13px; cursor:default;}
p         {margin:0.7em 0px 0px 0px}
.small    {font-size:11px;}
.dim      {color:#999999;}
.big      {font-family:Georgia; font-size:20px; font-weight:bold; font-style:italic;}
.styled   {font-family:Georgia; font-size:15px; font-weight:bold; font-style:italic;}
.styled2  {font-family:Georgia; font-size:12px; font-weight:bold; font-style:italic;}
.inverse  {background-color:#FFFFFF; color:#000000;}
.dark     {background-color:#4D0F00;}
.border   {border:1px solid #ffffff; -webkit-border-radius:12px; -moz-border-radius:12px;}

table.full {width:100%; border:0; cellpadding:0;cellspacing:0;}

/* ─── Links ────────────────────────────────────────────────────────────────── */

a:link, a:visited,                              .aon   {color:#FFE566; text-decoration: none;      cursor:hand;}
a:link.link, a:visited.link,                    .aoff  {color:#FFFFFF; text-decoration: none;      cursor:hand;}
a:hover, a:active, a:hover.link, a:active.link, .aover {color:#FFE566; text-decoration: underline; cursor:hand;}

/* ─── Calendar ─────────────────────────────────────────────────────────────── */

div.norm     {color:#FFFFFF;}
div.normo    {color:#FFE566;}  /* light-orange */
div.special  {color:#FFE566;}  /* light-orange */
div.specialo {color:#CE9C39;}  /* dark-orange */
div.fav      {color:#ccb2ff;}  /* purple */
div.favo     {color:#FFE566;}  /* dark-orange */
div.cal      {font-size:11px; line-height:100%; padding:3px 8px; cursor:hand;}
div.callit   {font-size:11px; line-height:100%; padding:3px 8px; background-image:url(../media/spot.gif); background-repeat:no-repeat; background-color:#4D0F00;}
div.caldate  {padding:0px 8px 2px 8px;}

.colorbar {border-bottom: 1px solid #FFFFFF; border-top: 1px solid #FFFFFF; padding:2px 8px;
           background-image:url(../media/smallbar.gif); background-repeat:repeat-x; background-color:#E6CB45;}
td.cal    {border-bottom: 1px solid #FFFFFF; padding:2px 0px 7px 0px;}
.calglow  {background-image:url(../media/spot.gif); background-repeat:no-repeat; background-color:#4D0F00;}
.topless  {border-top: 0px;}

.mcaloff    {background-color:#FFFFFF; color:#000000; font-size:11px;}  /* white */
.mcalon     {background-color:#FFE566; color:#000000; font-size:11px;}  /* light-orange */
.mcalhilite {background-color:#D5AA3C; color:#000000; font-size:11px;}  /* dark-orange */
.mcalhover  {background-color:#DDDDDD; color:#000000; font-size:11px;}  /* gray */

/* ─── Visibility ───────────────────────────────────────────────────────────── */

.hide    {display:none}
.show    {visibility:visible}
.spacer  {visibility:hidden}

/* ─── Warning / Notices ────────────────────────────────────────────────────── */

p.warning {
  color: white;
  border: 3px solid orange;
  padding: 1em;
}

/* ─── Ad Bar ───────────────────────────────────────────────────────────────── */

#horz_ad_bar {
  width: 100%;
  margin-top: 2px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  -ms-text-justify: distribute-all-lines;
  text-justify: distribute-all-lines;
}

#horz_ad_bar a {
  vertical-align: top;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90px;
}

.stretch {
  width: 100%;
  display: inline-block;
  font-size: 0;
  line-height: 0
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90px;
}

.image {
  margin: 0 5px;
}

/* ─── Forms (consolidated from mac.css / win.css) ──────────────────────────── */
/* These styles replace the platform-specific mac.css and win.css files.       */
/* Both platforms now use the same clean form styles.                           */

textarea, .textbox, .textbox0, .button {
  font-family: Arial;
  font-size: 13px;
  margin: 2px 0px;
  background-color: #FFFFFF;
  cursor: auto;
}

.textbox0 {
  margin: 0px;
}

.menu {
  font-family: Arial;
  font-size: 13px;
  margin: 2px 0px;
  background-color: #FFFFFF;
}

.button {
  cursor: pointer;
}

.checkbox, .radio {
  margin: 2px 2px;
}

/* ─── Combined login choices ──────────────────────────────────────────────── */
/* Password and magic-link authentication share one panel when both are
   available, rather than appearing as two unrelated dialog boxes. */
.login-panel {
  width: 28em;
  max-width: calc(100% - 24px);
  margin: 0 auto;
}

.login-panel-title {
  font-weight: bold;
}

.login-panel-password {
  padding: 16px 24px 14px 24px;
}

.login-panel-copy {
  padding-top: 6px;
  font-size: .9em;
  color: #ccc;
  line-height: 1.45;
}

.login-panel-action {
  padding-top: 12px;
  text-align: right;
}

.login-panel-action .button {
  display: inline-block;
  padding: 4px 14px;
  text-decoration: none;
  color: #222;
  background: #eee;
  border: 1px solid #888;
}

.login-password-input {
  width: 14em;
  max-width: 100%;
  box-sizing: border-box;
  margin-right: 6px;
}

.login-panel-or {
  padding: 0 24px;
}

.login-panel-or > div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9a66c;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .12em;
}

.login-panel-or > div::before,
.login-panel-or > div::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #75412f;
}

.login-panel-magic-intro {
  padding: 12px 24px 2px 24px;
  font-size: .9em;
  color: #ccc;
}

.login-email-input {
  width: 20em;
  max-width: 100%;
  box-sizing: border-box;
}

/* Sign-in methods on login.php: stacked rows, the chosen one highlighted. */
.login-panel-head {
  padding: 16px 20px 0 20px;
}

.login-panel-head .login-panel-title {
  margin-bottom: 10px;
}

.login-methods {
  display: grid;
  gap: 6px;
}

a.login-method, a.login-method:link, a.login-method:visited {
  display: block;
  padding: 8px 12px;
  border: 1px solid #75412f;
  border-radius: 6px;
  color: #ddd;
  text-decoration: none;
}

a.login-method b {
  display: block;
  color: #f2e6d8;
}

a.login-method span {
  display: block;
  font-size: .85em;
  color: #b9a796;
}

a.login-method:hover {
  border-color: #d9a66c;
}

a.login-method-on, a.login-method-on:link, a.login-method-on:visited {
  border-color: #d9a66c;
  background: rgba(217, 166, 108, .12);
}

a.login-method-on b {
  color: #d9a66c;
}

/* ─── Modern Utilities (use these in new/updated templates) ────────────────── */

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.text-center {
  text-align: center;
}

/* ─── Reusable site notification area ─────────────────────────────────────── */
/* Explicit dark text overrides the site's global light-on-dark defaults. */
.site-notification,
.anon-email-nudge {
  position: relative;
  color: #2b241c;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  padding: 14px 44px 14px 16px;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.45;
}

.site-notification--warn,
.anon-email-nudge {
  background: #fff7df;
  border: 1px solid #d6b25c;
  border-left: 4px solid #a96f00;
}

.site-notification--info {
  background: #e3f2fd;
  border: 1px solid #90caf9;
  border-left: 4px solid #1976d2;
}

.site-notification--success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-left: 4px solid #388e3c;
}

.site-notification__title,
.anon-email-nudge__title {
  color: #2b241c;
  font-size: 14px;
  font-weight: bold;
}

.site-notification__copy,
.anon-email-nudge__copy {
  color: #41372b;
  margin-top: 2px;
}

.site-notification__dismiss,
.anon-email-nudge__dismiss {
  position: absolute;
  top: 7px;
  right: 10px;
  color: #5d5142 !important;
  font-size: 20px;
  line-height: 1;
  text-decoration: none !important;
}

.site-notification__dismiss:hover,
.site-notification__dismiss:focus,
.anon-email-nudge__dismiss:hover,
.anon-email-nudge__dismiss:focus {
  color: #241d16 !important;
  text-decoration: none !important;
}

.site-notification__action,
.anon-email-nudge__action {
  display: inline-block;
  margin-top: 9px;
  padding: 7px 12px;
  border: 1px solid #0d4358;
  border-radius: 4px;
  background: #155d78;
  color: #ffffff !important;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  line-height: 1.2;
  text-decoration: none !important;
  cursor: pointer;
}

.site-notification__action:hover,
.site-notification__action:focus,
.anon-email-nudge__action:hover,
.anon-email-nudge__action:focus {
  background: #0d4358;
  color: #ffffff !important;
}

.site-notification__form,
.anon-email-nudge__form {
  margin-top: 10px;
}

.site-notification__input,
.anon-email-nudge__input {
  box-sizing: border-box;
  width: 220px;
  max-width: 100%;
  padding: 6px 8px;
  border: 1px solid #9d917e;
  border-radius: 4px;
  background: #ffffff;
  color: #2b241c;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.site-notification__submit,
.anon-email-nudge__submit {
  margin-left: 4px;
  padding: 6px 11px;
  border: 1px solid #777064;
  border-radius: 4px;
  background: #f2eee5;
  color: #2b241c;
  font-family: Arial, sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.site-notification__submit:hover,
.site-notification__submit:focus,
.anon-email-nudge__submit:hover,
.anon-email-nudge__submit:focus {
  background: #e3dccd;
}

.site-notification__error,
.anon-email-nudge__error {
  color: #a32818;
  margin-left: 6px;
}

.profile-email-nudge {
  padding: 9px 11px;
  border: 1px solid #d6b25c;
  border-radius: 5px;
  background: #fff7df;
  color: #2b241c;
}

.profile-email-nudge__action {
  padding: 5px 9px;
  border: 1px solid #0d4358;
  border-radius: 4px;
  background: #155d78;
  color: #ffffff !important;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

/* ─── Print ────────────────────────────────────────────────────────────────── */

.noprint {
  /* Hidden in print — see print.css for @media print rules */
}

/* ─── Changelog ─────────────────────────────────────────────────────────────── */
.cl-admin-badge { display: inline-block; font-size: .7em; font-weight: normal; background: #c00; color: #fff; border-radius: 3px; padding: .15em .45em; vertical-align: middle; margin-left: .5em; letter-spacing: .03em; }
.cl-wrap { max-width: 720px; margin: 1.5em auto; padding: 0 1em; color: #222; }
.cl-wrap h1 { font-size: 1.5em; margin-bottom: .25em; }
.cl-wrap .cl-intro { color: #555; margin-bottom: 1.5em; font-size: .95em; }
.cl-section { margin-bottom: 2em; }
.cl-section h2 { font-size: 1.1em; font-weight: bold; border-bottom: 2px solid #c00; padding-bottom: .2em; margin-bottom: .7em; color: #222; }
.cl-list { list-style: none; margin: 0; padding: 0; }
.cl-list li { padding: .45em 0 .45em 1.2em; border-bottom: 1px solid #eee; line-height: 1.5; position: relative; }
.cl-list li::before { content: "\2713"; position: absolute; left: 0; color: #388e3c; font-weight: bold; }
.cl-back { margin-top: 1.5em; font-size: .9em; }
