/* Page background setup */
body {
  margin: 0;
  background: #e9e9e9 url('bg.jpg') repeat;
  font-family: Arial, sans-serif;
}

/* Main container */
#container {
  width: 1170px;
  background: url('header-3.png') top left no-repeat;
  position: relative;
  min-height: 830px; /* same height as your header image */
}

/* Left column */
#leftcol {
  width: 465px; /* includes left margin area visually */
  float: left;
}

/* Title div */
#title {
  width: 460px;
  height: 80px;
  margin-left: 0px;
  margin-bottom: 10px;
  margin-top: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title {
  text-decoration: none;
  font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 54px;
  color: #173276;
  letter-spacing: 3px;
  display: inline-block;
  filter: drop-shadow(-1px 1px 1px #fff);
}

/* Navigation div */
#nav {
  width: 460px;
  height: 70px;
  margin-left: 0px;
}

/* Navigation list */
#nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 175px);
  grid-template-rows: repeat(2, 35px);
  gap: 0;
  justify-content: center;
  align-content: center;
}

#nav li {
  display: flex;
  align-items: center;
  justify-content: center;
}

#nav a {
  text-decoration: none;
  font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  color: #d158f8;
  width: 175px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: color 0.3s;
  text-transform: uppercase;
  filter: drop-shadow(-1px 1px 1px #fff);
}

#nav a:hover {
  color: #5018a0;
  filter: drop-shadow(-1px 1px 1px #dfdfdf);
  letter-spacing: 1px;
}

/* Right column */
#rightcol {
  position: absolute;
  left: 500px;
  top: 30px;
}

/* Body div */
#body {
  width: 660px;
  padding: 0;
  min-height: 400px;
  background-color: rgba(255,255,255,.0);
  font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  color: #5018a0;
}

/* Footer div */
#footer {
  width: 660px;
  height: 100px;
  margin-top: 30px;
  padding-top: 0;
  text-align: center;
  box-sizing: border-box;
}


/* =========================================================================
   Sample Link + Copy Button
   ========================================================================= */
.samplelink {
  width: 400px;
  margin: 0 auto;
  padding: 10px;
  background: rgba(187, 187, 187, 0.3);
  color: #636363;
  border: 1px solid #fff;
  font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: #5018a0;
  text-align: center;
}

.copy-button {
  width: 100px;
  margin: 5px auto 0 !important;
  padding: 10px !important;
  background: rgba(187, 187, 187, 0.3);
  color: #636363;
  border: 1px solid #fff;
  font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: #5018a0;
  text-align: center;
  transition: background 0.2s;
}

.copy-button:hover {
  background: #f0f0f0;
}



/* =========================================================================
   Forms CSS - Unified
   ========================================================================= */
.custom_input {
  display: flex;
  align-items: center;
  margin-bottom: 5px !important;
}

.custom_input label {
  width: 120px;
  display: inline-block;
  text-align: right;
  margin-right: 10px;
}

.custom_input .input,
form[class^="show_"] input[type="text"],
form[class^="show_"] input[type="email"],
form[class^="show_"] input[type="password"],
form[class^="show_"] input[type="url"],
form[class^="show_"] select,
form[class^="show_"] textarea {
  width: 300px;
  display: block;
  padding: 10px;
  margin-bottom: 5px;
  font-size: 20px;
  background: rgba(187, 187, 187, 0.3);
  color: #636363;
  border: 1px solid #e1e1e1;
  border-radius: 0;
  outline: none;
  box-sizing: border-box;
  transition: 0.3s ease;
}

.custom_input .input:focus,
form[class^="show_"] input:focus,
form[class^="show_"] select:focus,
form[class^="show_"] textarea:focus {
  background: rgba(187, 187, 187, 0.6);
  border: 1px solid #fff;
}

/* Placeholder */
.custom_input .input::placeholder,
form[class^="show_"] ::placeholder {
  color: #f0f0f0;
}

/* Buttons */
.custom_input input[type="submit"],
form[class^="show_"] input[type="submit"],
form[class^="show_"] input[type="reset"] {
  width: auto;
  padding: 10px 20px;
  margin-top: 10px;
  background: rgba(187, 187, 187, 0.3);
  color: #636363;
  border: 1px solid #e1e1e1;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.3s;
}

.custom_input input[type="submit"]:hover,
form[class^="show_"] input[type="submit"]:hover,
form[class^="show_"] input[type="reset"]:hover {
  background: rgba(187, 187, 187, 0.5);
}

/* Form structure */
form[class^="show_"] p {
  margin-bottom: 15px;
}

form[class^="show_"] span[class$="_label"] {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #636363;
}

form[class^="show_"] textarea {
  min-height: 60px;
  resize: vertical;
}

form[class^="show_"] select {
  margin-bottom: 5px;
}

/* Radio & Checkbox */
form[class^="show_"] input[type="radio"],
form[class^="show_"] input[type="checkbox"] {
  margin-right: 5px;
  vertical-align: middle;
}

form[class^="show_"] span[class*="_field_label"] {
  display: inline;
  margin-left: 5px;
  font-weight: normal;
}

/* Groups */
.show_join_email_settings_yes,
.show_join_email_settings_no,
.show_update_email_settings_leave,
.show_update_email_settings_yes,
.show_update_email_settings_no,
.show_join_send_account_info_yes {
  display: block !important;
  margin: 3px 0;
}

/* Password fields */
.show_join_password_field,
.show_update_password_field,
.show_join_password_field2,
.show_update_password_field2 {
  width: 300px;
  display: block;
}

.show_join_password_field2,
.show_update_password_field2 {
  margin-top: 5px;
}






/* =========================================================================
   Typography
   ========================================================================= */
p {
  margin: 20px;
  font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  color: #5018a0;
  filter: drop-shadow(-1px 1px 1px #ffffff);
}

a, p a {
  color: #d158f8;
}

a:hover, p a:hover {
  color: #baa0f4;
}

h1, h2, h3 {
  margin-bottom: 20px;
  font-family: "Cormorant", serif;
  color: #74a9c2;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 3px;
  filter: drop-shadow(-1px 1px 1px #ffffff);
}

h1 { font-size: 40px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; margin-top: 20px; }

b, strong {
  color: #2e5797;
  font-weight: 600;
}

i {
  color: #087383;
  font-weight: 500;
}

abbr {
color: #087383;
}

.footer {
  line-height: 1.6;
  font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px !important;
  color: #5018a0;

}



/* =========================================================================
   Stats
   ========================================================================= */
.stats {
  margin: 20px;
  font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  color: #5018a0;
  filter: drop-shadow(-1px 1px 1px #ffffff);
}

.stats a {
  color: #d158f8;
}

.stats a:hover {
  color: #baa0f4;
}

/* =========================================================================
   Codes & Sort List
   ========================================================================= */
.show_sort_list,
.codesort a {
  color: #b7608f;
}

.show_sort_list:hover,
.codesort a:hover {
  color: #9d9daf;
}

#codes ul {
  display: flex;
  justify-content: center;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
}

#codes li {
  display: inline;
}

#codes p {
  text-align: center;
}

#codes p img {
  margin: 0 auto;
}

.show_sort_list {
  margin-left: 100px;
  padding: 0;
  font-family: "Cormorant", serif;
  text-shadow: 1px 1px 0px #fff;
  font-size: 20px;
  list-style: none;
}

.show_sort_list li {
  margin: 5px 0;
}

.show_sort_list a {
  color: #b7608f;
  text-decoration: none;
}

.show_sort_list a:hover {
  color: #9d9daf;
  text-decoration: underline;
}


#codes img {
  margin: 1px;
  padding: 4px;
  background-color: rgba(255,255,255,.7);
  border: 0 solid #3C3C3F;
}


/* =========================================================================
   WEBRINGS
   ========================================================================= */
#fanlistings {
  margin: 20px;
  font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 10px !important;
  color: #5018a0;
  filter: drop-shadow(-1px 1px 1px #ffffff);
}


/* ======================================================
   HIDE EMPTY OPTIONAL FIELDS
====================================================== */
/* usage (can be repeated):
<span class="opt">
Favorite Song(s): <span class="value">$$fan_favorite_song$$</span>
</span>
*/

.opt:has(.value:empty) {
  display: none;
}

.value:empty {
  display: none;
}

.opt {
  display: block;
}