/* SETI client theme — brand colors from SETI guidelines (Pantone 445C / 130C) */
:root {
  --seti-dark: #3e4543;
  --seti-gold: #f0ab00;
  --seti-gold-hover: #d49400;
  --seti-bg: #f3f3f3;
  --seti-text: #3e4543;
  --seti-muted: #6b726f;
  --seti-white: #ffffff;
  --seti-border: #e2e4e3;
}

html {
  background: var(--seti-bg);
  height: 100%;
}

body.seti-client {
  background: var(--seti-bg) !important;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--seti-text);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.seti-client a,
body.seti-client .link {
  color: var(--seti-dark);
}

body.seti-client a:hover,
body.seti-client .link:hover {
  color: var(--seti-gold-hover);
  border-bottom-color: var(--seti-gold);
}

#container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  background: var(--seti-white);
  box-shadow: 0 8px 30px rgba(62, 69, 67, 0.12);
  border: none;
  flex: 1 0 auto;
}

#header {
  height: auto;
  min-height: 88px;
  padding: 18px 32px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--seti-white);
  border-bottom: 3px solid var(--seti-gold);
  box-sizing: border-box;
}

#header .pull-left,
#header .pull-right {
  float: none;
}

#header #logo {
  order: 1;
}

#header .flush-right {
  order: 2;
  width: auto;
  max-width: 52%;
  text-align: right;
  margin-left: auto;
}

#header p {
  width: auto;
  padding: 0;
  margin: 0 0 6px;
  color: var(--seti-muted);
  font-size: 13px;
}

#header p a {
  color: var(--seti-dark);
  font-weight: 600;
  border-bottom: none;
}

#header p a:hover {
  color: var(--seti-gold-hover);
}

#header .seti-site-link a {
  color: var(--seti-gold-hover);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  border-bottom: none;
}

#logo {
  height: auto;
  display: flex;
  align-items: center;
}

#header #logo img {
  max-height: 56px;
  max-width: 220px;
}

#nav {
  margin: 0;
  padding: 0 24px;
  height: auto;
  min-height: 48px;
  background: var(--seti-dark);
  border-top: none;
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  white-space: normal;
}

#nav li {
  display: block;
}

#nav li a {
  height: auto;
  line-height: 1.2;
  padding: 14px 18px;
  margin: 0 4px 0 0;
  color: var(--seti-white);
  border-radius: 0;
  background-image: none !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#nav li a.active,
#nav li a:hover {
  background-color: var(--seti-gold);
  color: var(--seti-dark);
}

#content {
  margin: 0;
  padding: 32px 36px 48px;
  min-height: 420px;
}

#content h1 {
  color: var(--seti-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.button,
.button:visited,
.green.button,
.green.button:visited,
.blue.button,
.blue.button:visited {
  background: var(--seti-gold);
  color: var(--seti-dark);
  font-family: "Montserrat", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: none;
  box-shadow: none;
  border: none;
  border-radius: 2px;
  padding: 14px 22px;
  max-width: none;
}

.button:hover,
.green.button:hover,
.blue.button:hover {
  background: var(--seti-gold-hover);
  color: var(--seti-dark);
}

.green.button,
.green.button:visited {
  background: var(--seti-dark);
  color: var(--seti-white);
}

.green.button:hover {
  background: #2c322f;
  color: var(--seti-white);
}

.seti-home {
  display: block;
}

.seti-hero {
  background: linear-gradient(135deg, #3e4543 0%, #2c322f 70%);
  color: var(--seti-white);
  padding: 42px 40px 36px;
  margin: -32px -36px 36px;
}

.seti-kicker {
  margin: 0 0 10px;
  color: var(--seti-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#content .seti-hero h1 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.seti-hero-lead {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}

.seti-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.seti-cta-row .button {
  display: inline-block;
}

.seti-home .main-content {
  width: auto;
  max-width: 720px;
  float: none;
}

.seti-home .thread-body {
  color: var(--seti-text);
  font-size: 16px;
}

.seti-home .thread-body p {
  margin: 0 0 1em;
}

.sidebar {
  width: 240px;
  margin-left: 28px;
}

.sidebar .content {
  border: 1px solid var(--seti-border);
  background: #fafafa;
  border-radius: 2px;
}

.front-page-button .button {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 8px;
}

#footer {
  background: var(--seti-dark);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  padding: 28px 20px 32px;
  margin-top: auto;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

#footer p {
  margin: 0;
  color: inherit;
}

#footer a {
  color: var(--seti-gold);
}

#footer #poweredBy {
  display: none !important;
}

#clientLogin {
  background: #fafafa;
  border: 1px solid var(--seti-border);
  box-shadow: none;
  border-radius: 2px;
}

#clientLogin input[type="text"],
#clientLogin input[type="password"],
#ticketForm input[type="text"],
#ticketForm input[type="email"],
#ticketForm textarea,
#ticketForm select {
  border-color: #cfd3d1;
}

#clientLogin input[type="submit"],
input.btn,
button.btn {
  background: var(--seti-gold);
  color: var(--seti-dark);
  border: none;
  border-radius: 2px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 10px 18px;
  cursor: pointer;
}

#clientLogin input[type="submit"]:hover,
input.btn:hover,
button.btn:hover {
  background: var(--seti-gold-hover);
}

#ticketForm h1,
form h1 {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  #container {
    margin: 0;
    box-shadow: none;
  }

  #header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  #header .flush-right {
    max-width: 100%;
    text-align: left;
    margin-top: 12px;
  }

  #nav {
    padding: 0 8px;
  }

  #nav li a {
    padding: 12px 12px;
    font-size: 12px;
    margin: 0;
  }

  #content {
    padding: 24px 18px 36px;
  }

  .seti-hero {
    margin: -24px -18px 24px;
    padding: 28px 20px 24px;
  }

  .seti-hero h1,
  #content .seti-hero h1 {
    font-size: 24px;
  }

  .sidebar {
    float: none;
    width: auto;
    margin: 0 0 24px;
  }

  .main-content {
    width: auto !important;
    float: none;
  }

  .seti-cta-row .button {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  #ticketForm table {
    width: 100% !important;
  }
}
