/* DepoDates.com browser-consistent stylesheet
   Works across Chrome, Safari, Edge, and Firefox.
   Upload as style.css and hard-refresh after upload.
*/

:root {
  --navy: #10233f;
  --navy2: #0b1a31;
  --gold: #b8924a;
  --gold2: #f5d37a;
  --paper: #f7f7f5;
  --border: #d8d8d8;
  --text: #222;
  --green-bg: #e7f5ea;
  --green: #176c2e;
  --red-bg: #fdeaea;
  --red: #9b2c2c;
  --yellow-bg: #fff6dc;
  --yellow: #7a5a00;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.28;
}

/* HEADER / LOGO */

.site-header,
header {
  display: block;
  width: 100%;
  background: var(--navy);
  color: #fff;
  border-bottom: 6px solid var(--gold);
  padding: 22px 18px;
  text-align: center;
  margin: 0;
}

.brand,
.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

.logo-mark,
.brand-mark,
.dd-logo {
  width: 88px;
  height: 72px;
  border: 3px solid var(--gold);
  border-radius: 3px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 2px rgba(245, 211, 122, .25), 0 2px 6px rgba(0,0,0,.18);
  flex: 0 0 88px;
  overflow: hidden;
}

/* If old logo markup still has a small D, hide it so logo is a clean single M. */
.logo-mark .d,
.brand-mark .d,
.dd-logo .d {
  display: none !important;
}

.logo-mark span,
.brand-mark span,
.dd-logo span {
  font-size: inherit;
  line-height: 1;
}

.brand-copy,
.brand-text {
  text-align: left;
}

.brand-copy h1,
.brand-text h1,
header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
  letter-spacing: .3px;
  font-weight: bold;
  color: #fff;
}

.brand-copy p,
.brand-text p,
header p {
  margin: 8px 0 0;
  color: var(--gold2);
  font-size: 16px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: bold;
}

/* MAIN LAYOUT */

.wrap,
main.wrap {
  display: block;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 20px;
  position: relative;
  clear: both;
}

/* Supports both sponsor-bar and older gold-ad class names. */
.sponsor-bar,
.gold-ad {
  display: flex !important;
  width: 100%;
  min-height: 95px;
  margin: 0 0 22px 0 !important;
  padding: 18px;
  clear: both;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gold) !important;
  color: var(--navy) !important;
  border: 3px solid var(--navy);
  border-radius: 10px;
  box-shadow: 0 2px 7px rgba(0,0,0,.12);
  font-size: 19px;
  font-weight: bold;
  line-height: 1.3;
  float: none !important;
}

.sponsor-bar a,
.gold-ad a {
  color: var(--navy) !important;
  text-decoration: underline;
  font-weight: bold;
}

/* FORM CARDS BELOW GOLD BAR */

.form-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .85fr);
  gap: 18px;
  width: 100%;
  clear: both;
  position: relative;
  z-index: 2;
  align-items: start;
  margin: 0 0 18px 0 !important;
  float: none !important;
}

.sponsor-bar + .form-grid,
.gold-ad + .form-grid {
  margin-top: 0 !important;
}

.card {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin: 0 0 14px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  float: none !important;
  position: relative;
}

.card h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  line-height: 1.15;
  text-align: center;
}

.card h3 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  margin: 8px 0 4px;
  color: var(--navy);
  font-weight: bold;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 9px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 15px;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: linear-gradient(45deg, transparent 50%, #555 50%),
                    linear-gradient(135deg, #555 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 28px;
}

button,
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 10px 6px 0 0;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.2;
  -webkit-appearance: none;
  appearance: none;
}

button:hover,
.btn:hover {
  opacity: .92;
}

.btn-danger,
button.btn-danger {
  background: var(--red);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

/* TABLES */

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 10px;
  font-size: 14px;
}

th,
td {
  border: 1px solid var(--border);
  padding: 7px;
  text-align: center;
  vertical-align: middle;
}

th {
  background: var(--navy);
  color: #fff;
}

td:first-child,
th:first-child {
  text-align: left;
}

.available {
  background: var(--green-bg);
  color: var(--green);
  font-weight: bold;
}

.notavailable {
  background: var(--red-bg);
  color: var(--red);
  font-weight: bold;
}

.maybe,
.pending {
  background: var(--yellow-bg);
  color: var(--yellow);
  font-weight: bold;
}

.eliminated {
  background: var(--red-bg);
  color: var(--red);
  font-weight: bold;
}

.ok {
  background: var(--green-bg);
  color: var(--green);
  font-weight: bold;
}

.small {
  color: #666;
  font-size: 13px;
}

/* EMAIL SUMMARY AREA */

.summary-box,
textarea#summary {
  min-height: 700px !important;
  height: 700px !important;
  line-height: 1.4;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  resize: vertical;
}

/* BOTTOM AREA */

.bottom-gold,
.blank-gold-bottom {
  display: block;
  width: 100%;
  background: var(--gold);
  border: 3px solid var(--navy);
  border-radius: 10px;
  min-height: 80px;
  margin: 18px 0 12px;
  box-shadow: 0 2px 7px rgba(0,0,0,.12);
  clear: both;
}

.disclaimer {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  color: #555;
  font-size: 12px;
  text-align: center;
  line-height: 1.25;
}

.footer {
  text-align: center;
  color: #555;
  padding: 14px 20px 20px;
  font-size: 12px;
  line-height: 1.25;
}

/* RESPONSIVE */

@media (max-width: 850px) {
  .brand,
  .brand-header {
    flex-direction: column;
    gap: 10px;
  }

  .brand-copy,
  .brand-text {
    text-align: center;
  }

  .brand-copy h1,
  .brand-text h1,
  header h1 {
    font-size: 34px;
  }

  .brand-copy p,
  .brand-text p,
  header p {
    font-size: 13px;
    letter-spacing: 1.1px;
  }

  .logo-mark,
  .brand-mark,
  .dd-logo {
    width: 76px;
    height: 62px;
    font-size: 36px;
    flex-basis: 76px;
  }

  .form-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .wrap,
  main.wrap {
    padding: 18px 14px;
  }
}

/* Homepage notice messages */
.site-notice {
  display: block;
  width: 100%;
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 18px 0;
  font-weight: bold;
  line-height: 1.35;
  border: 2px solid var(--navy);
  background: #fff8df;
  color: var(--navy);
}
.notice-warning {
  background: #fff6dc;
  border-color: var(--gold);
}
.notice-error {
  background: #fdeaea;
  border-color: #9b2c2c;
  color: #7a1f1f;
}
.notice-success {
  background: #e7f5ea;
  border-color: #176c2e;
  color: #176c2e;
}
