body.wingeye-body {
  margin: 0;
  font-family: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  background: url('/user/themes/wingeye/images/forgotten-realms-map.webp') center center no-repeat fixed;
  background-size: cover;
  color: #2f2b27;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.mithra-head {
    width: 100%; 
    border-radius: 0px; 
}


header.wingeye-header {
  background-color: #1a1a1a;
  padding-top: 5px;
  text-align: center;
}

header.wingeye-header img {
  margin-top: 5px;
  max-height: 150px;
  height: auto;
  width: auto;
}


main.wingeye-main {
  flex: 1;
  padding: 40px;
  background: url('/user/themes/wingeye/images/parchment-background.webp') center center no-repeat;
  background-size: cover;
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

footer.wingeye-footer {
  background: linear-gradient(to bottom,  #2ea1b4 0%,#065682 50%,#0a0e0a 51%,#0a0809 100%); 
  color: #ddd;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9em;
}

footer.wingeye-footer a {
  color: #e0c36e;
  text-decoration: none;
}

.section-banner {
  background-color: #1a1a1a;
  color: #e0c36e;
  text-align: center;
  padding: 20px 10px;
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  letter-spacing: 1px;
  border-top: 3px solid #444;
  border-bottom: 3px solid #444;
}

h1::before {
  font-family: "Font Awesome 6 Free";
  content: "\f70e"; /* fa-scroll */
  font-weight: 900;
  display: inline-block;
  margin-right: 10px;
  color: #ffffff;
}

body.wingeye-body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #1a1a1a;
  color: #2f2b27;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.wingeye-main {
  flex: 1;
  padding: 40px;
  background: url('/user/themes/wingeye/images/parchment-background.webp') center center no-repeat;
  background-size: cover;
  margin: 0 auto;
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.wingeye-header {
     background: url('/user/themes/wingeye/images/background-head.webp') center center repeat;
     background-size: contain;
}

h1 {
    font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  background-color: #2EA0B3;
       background: url('/user/themes/wingeye/images/background-head.webp') center center no-repeat;
     background-size: cover;
  color: #ffffff;
  padding: 10px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  text-align: center;
  border-radius: 0px;
  margin: 0;
}

.title-hide h1 {
 display: none;   
}

/* Mithra Town Square Styles */
.town-square {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.town-sectors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.sector {
  background-color: rgba(255, 248, 230, 0.9);
  border: 1px solid #d2b48c;
  border-radius: 8px;
  padding: 1rem;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.sector:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.sector h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  margin-top: 0;
  color: #5c3d2e;
}

.sector h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  margin-top: 0;
  color: #fff;
}

.sector p {
  margin-bottom: 0.5rem;
}

.sector a {
  color: #8b2e2e;
  text-decoration: none;
  font-weight: bold;
}

.sector:hover h3 {
  color: #7c2b2b;
}

.sector:hover h2 {
  color: #E0B972;
}

/* Hearthfire at the top styling */
.town-square .hearthfire {
  width: 100%;
  max-width: 600px;
  background-color: #5c3d2e;
  color: #fff2dc;
  border: 2px solid #bfa27a;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.town-intro {
  max-width: 800px;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: #4d3825;
  margin-bottom: 1rem;
  text-align: center;
  background: rgba(255, 248, 230, 0.8);
  padding: 1rem 1.5rem;
  border-left: 6px solid #bfa27a;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.login-form {
  max-width: 700px;
  margin: 2rem auto;
  background: rgba(255, 248, 230, 0.95);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.2);
  text-align: center;
}

.login-form p {
    padding: 0px;
}

.login-form h2 {
  margin-bottom: 1rem;
  color: #333;
}

.login-form input {
    width: 80%;
    padding: 5px;
    margin: 0 auto 20px;
    font-size: 1.1em;
}

.login-form .form-label {
    font-size: 1em;
    font-weight: bold;
}

.login-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #8b2e2e; /* Dark red like your H1 banner */
  cursor: pointer;
  margin-right: 8px;
}

.login-form button {
    padding: 10px;
    margin: auto;
    font-size: 1.1em;
}


  /* Container styling */
    .menu-container {
      list-style: none;
      padding: 0px;
      margin: 15px 0 0;
      display: flex;
      justify-content: center;
      font-size: 1.1em;
    background: linear-gradient(to bottom,  #2ea1b4 0%,#065682 50%,#0a0e0a 51%,#0a0809 100%); 

    }
    
    .menu-container > li {
      position: relative;
    }
    
    /* Top-level link styling */
    .menu-container > li > a {
      display: block;
      padding: 10px 25px;
      min-width: 130px;
      max-width: 250px;
      width: auto;
      color: #fff;
      text-decoration: none;
    }
    
      .menu-container > li > a:hover {
      color: #FFD46E;
      text-decoration: none;
    }
    
 
    /* Submenu styling */
    .submenu {
      list-style: none;
      padding: 0;
      margin: 0;
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      min-width: 160px;
      z-index: 1000;
    }
    
    .submenu li a {
      background: #333;
      color: #FFD46E;
      display: block;
      padding: 15px 20px;
      text-decoration: none;
       min-width: 160px;
    }
    
    /* Hover state for submenu items */
    .submenu li a:hover {
      background: #2EA1B4;
      color: #fff;
    }
    
    .submenu li {
      border-top: 1px solid #FFD46E;
    }
    
    /* Show submenu on hover */
    li:hover > .submenu {
      display: block;
    }
    
    .login-subtitle {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: #5c3d2e;
  margin-bottom: 1.5rem;
}

.login-intro {
  background: rgba(255, 248, 230, 0.95);
  border-left: 5px solid #bfa27a;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #3b2e22;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.login-intro h2 {
  font-family: 'Cinzel', serif;
  color: #5c3d2e;
  margin-bottom: 0.5rem;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 2rem;
    background-color: rgba(255, 248, 230, 0.95); /* soft parchment */
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  border-radius: 6px;
}

table th,
table td {
  padding: 12px 16px; /* <– This is your padding */
  text-align: left;
  border-bottom: 1px solid #ccc;
  vertical-align: top;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  line-height: 1.6;
}

.back-to-top {
  position: fixed;
  bottom: 15px;
  right: 24%;
  display: none;
  background: #1A7B9B;
  color: white;
  font-size: 1.5rem;
  text-align: center;
  padding: 10px 15px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.back-to-top:hover {
  background: #2794AC;
}

.profile-avatar img {
    margin: 1em 0;
}

/***** PASSWORD CHANGE *****/

.form-message {
  padding: 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-weight: bold;
}

.form-message.error {
  background-color: #ffebeb;
  color: #b00020;
  border: 1px solid #b00020;
}

.form-message.success {
  background-color: #e0ffe4;
  color: #056608;
  border: 1px solid #056608;
}


.main-menu a {
  text-decoration: none;
  color: #f8f6f0;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s, color 0.3s;
}

.main-menu a:hover {
  background-color: #2f2b27;
  color: #e0c36e;
  border-radius: 5px;
}
