#searchInput
{
  max-width: 70%;
  height: 30px;
  border: 2px solid #8b4513;
  border-radius: 5px;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, .4);
  
}
#searchButton
{
  height: 25px;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, .4);
  
}
#a1
{
  padding: 10px;
}
#a2
{
  padding: 10px;
}

.user_search
{
  width:250px;
  margin: 0;
}
input
{
  font-family: rsFont;
}
button
{
  font-family: rsFont;
}
.news_content img
{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border: 2px solid #8b4513;
  border-radius: 15px;
}
.main-col
{
  width:75%;
  background-color: rgba(255, 255, 245, 0.9);
  padding: 30px;
  border: 2px solid #8b4513;
  border-radius: 15px;
  height: 100%;
}
@font-face 
{
  font-family: rsFont;
  src: url("./font/RuneScape-Bold-12.otf") format("opentype");
}

/* Replace your inline body background style with this in style.css: */
body {
  background-color: #1a1a1b;
  background-image: none;
  font-family: rsFont;
  /*! font-weight: bold; */
  margin: 0;
  min-height: 100vh;
  
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1c2b39;
 
  padding: 10px 24px;

  top: 0;
  z-index: 100;
  background-image: url('./images/header.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: rsFont;
  font-size: 1.6rem;
  color: #f6f0d8;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px #000;
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-text strong {
  color: #e8c96a; /* gold accent like the wiki */
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  color: black;
  text-decoration: none;
  font-family: rsFont;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 4px;
  border: 2px solid #8b4513;
  background-color: blanchedalmond; 
  transition: background 0.2s, color 0.2s;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, .4);
}

.site-nav a:hover {
  background-color: rgba(255,255,255,0.08);
  color: #f6f0d8;
}
.page-wrapper {
  display: flex;
  gap: 0;
  padding: 0;
  align-items: stretch;
  min-height: calc(100vh - 50px); /* stretch to full page height */
}
.left-panel {
  width: 220px;        /* wider so text doesn't wrap so aggressively */
  flex-shrink: 0;
  background-color: #1c2b39;
  padding: 20px;
  align-self: stretch; /* full height */
  background-image: url('./images/news.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
}
#welcome-banner {
    text-align: center;
    padding: 48px 24px;
    color: #c8a96e;
    border: 1px solid #3a3020;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

#welcome-banner h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

#welcome-banner p {
    color: #aaa;
    font-size: 1rem;
}
.content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  /*! min-width: 0; */
  background-color: blanchedalmond;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  border: 5px solid #8b4513;
  border-radius: 5px;
  box-shadow: 10px 10px 70px rgba(0, 0, 0, 1);
  
}

.news 
{
  width: 90%;
  background-color: blanchedalmond;
  padding: 10px;
  border: 4px solid #8b4513;
  border-radius: 8px;
  height: fit-content;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, .4);

}

.news_content
{
  margin-top: 0;
  text-align: center;
  word-wrap: break-word;
  margin-bottom: 15px;
  overflow-y: auto;
  max-height: fit-content;
  
  
}

.news_content h2
{
  background-color: white;
  border: 2px solid #8b4513;
  border-radius: 8px;
  flex-shrink: 0;
}
.main-col 
{
  flex: 1;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, .4);
}
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-bubble {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background-color: rgba(250, 248, 237, 0.9);
  border: 3px solid #8b4513;
  color: #8b4513;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s, background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20%
}

.chat-bubble:hover {
  transform: scale(1.1);
  background-color: #8a4002;
}

.chat-box {
  width: 320px;
  height: 420px;
  background-color: #f8f5ee;
  border: 2px solid #8b4513;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.chat-box.open {
  display: flex;
}

.chat-header {
  background-color: #1c2b39;
  color: #e8c96a;
  padding: 12px 16px;
  font-family: rsFont, sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #8b4513;
}

.chat-close {
  background: none;
  border: none;
  color: #c8bfa8;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}

.chat-close:hover {
  color: #fff;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-msg {
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 10px;
  font-family: rsFont, sans-serif;
  font-size: 0.85rem;
  line-height: 1.4;
}

.chat-msg.bot {
  background-color: #e8e0cc;
  border: 1px solid #8b4513;
  align-self: flex-start;
}

.chat-msg.user {
  background-color: #1c2b39;
  color: #f6f0d8;
  align-self: flex-end;
}

.chat-input-row {
  display: flex;
  border-top: 2px solid #8b4513;
  padding: 8px;
  gap: 6px;
  background-color: #f0ead6;
}

.chat-input-row input {
  flex: 1;
  height: 32px;
  border: 2px solid #8b4513;
  border-radius: 6px;
  padding: 0 8px;
  font-family: rsFont, sans-serif;
  background-color: #fff;
}

.chat-input-row button {
  height: 32px;
  width: 36px;
  background-color: #1c2b39;
  color: #e8c96a;
  border: 2px solid #8b4513;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.chat-input-row button:hover {
  background-color: #2a3f54;
}
.tab-container
{
  margin-bottom: 5px;
  
}
.tab-container .skills-tab
{
  margin-right: 5px;
  box-shadow: 1px 2px 5px rgba(0, 0, 0, .4);
  
}
.tab-container .boss-tab
{
  box-shadow: 1px 2px 5px rgba(0, 0, 0, .4);
}
#player-container h2{
  
  padding: 1%;
  border: 2px solid #8b4513;
  border-radius: 8px;
  text-align: center;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, .4);
 
}
#player-container table
{
  margin-left: auto;
  margin-right: auto;
  max-height: 600px;
  overflow-y: auto;
  overflow-x: auto;
  flex: auto;
  padding: 1%;
  border: 2px solid #8b4513;
  border-radius: 10px;
  text-align: center;
  border-collapse: separate;
  width: 100%;
  box-shadow: 5px 10px 10px rgba(0, 0, 0, .4);
}
#player-container table th, td
{
  border-collapse: separate;
  border: 2px solid #8b4513;
}