/* Modern Theme Variables */
:root {
  --primary-color: #ffe0a3;
  --primary-hover: #fff0d1;
  --text-color: #ffe0a3;
  --bg-color: #242424;
  --bg-secondary: #2f2f2f;
  --bg-tertiary: rgba(0, 0, 0, 0.35);
  --border-color: rgba(255, 215, 0, 0.2);
  --shadow-color: rgba(0, 0, 0, 0.2);
  --success-color: #4CAF50;
  --error-color: #f44336;
  --warning-color: #ff9800;
  --info-color: #2196F3;
}

/* Override all text colors and add text shadow */
body, body *, .content *, #site_content *, .left-nav *, .sidebar * {
  color: var(--text-color);
  text-shadow: 
    -0.7px -0.7px 0 #4d3319,
    0.7px -0.7px 0 #4d3319,
    -0.7px 0.7px 0 #4d3319,
    0.7px 0.7px 0 #4d3319;
}

/* Background colors */
body, #main { 
  background: linear-gradient(180deg, var(--bg-color) 0%, #141414 100%);
}

/* Navigation specific */
.left-nav a, .left-nav a:visited {
  color: var(--text-color);
  text-shadow: 
    -0.7px -0.7px 0 #4d3319,
    0.7px -0.7px 0 #4d3319,
    -0.7px 0.7px 0 #4d3319,
    0.7px 0.7px 0 #4d3319;
}

.left-nav a:hover, .left-nav a.active {
  color: var(--primary-hover);
}

/* Headers with stronger shadow */
h1, h2, h3, h4, h5, h6,
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6 { 
  color: var(--primary-color);
  text-shadow: 
    -1px -1px 0 #4d3319,
    1px -1px 0 #4d3319,
    -1px 1px 0 #4d3319,
    1px 1px 0 #4d3319;
}

/* Custom elements with medium shadow */
fg, vg, txt, strong, 
.attribute strong, .vocation strong,
.spell-category strong, .promotion-section strong {
  color: var(--primary-color);
  text-shadow: 
    -0.7px -0.7px 0 #4d3319,
    0.7px -0.7px 0 #4d3319,
    -0.7px 0.7px 0 #4d3319,
    0.7px 0.7px 0 #4d3319;
}

/* Content areas */
.attribute, .vocation, .promotion-section, 
.spell-category, .tab-description, .sidebar {
  background: var(--bg-tertiary);
}

/* Tab buttons with shadow */
.tab button {
  color: var(--text-color);
  text-shadow: 
    -0.7px -0.7px 0 #4d3319,
    0.7px -0.7px 0 #4d3319,
    -0.7px 0.7px 0 #4d3319,
    0.7px 0.7px 0 #4d3319;
}

.tab button:hover, .tab button.active {
  color: var(--primary-hover);
}

/* Links with subtle shadow */
a, a:visited {
  color: var(--primary-color);
  text-shadow: 
    -0.7px -0.7px 0 #4d3319,
    0.7px -0.7px 0 #4d3319,
    -0.7px 0.7px 0 #4d3319,
    0.7px 0.7px 0 #4d3319;
}

a:hover {
  color: var(--primary-hover);
  text-shadow: 
    -0.7px -0.7px 0 #4d3319,
    0.7px -0.7px 0 #4d3319,
    -0.7px 0.7px 0 #4d3319,
    0.7px 0.7px 0 #4d3319;
}

/* Table elements */
table th, table td {
  color: var(--text-color);
}

/* List items */
li, ul li, ol li {
  color: var(--text-color);
}

/* Paragraphs */
p, .content p {
  color: var(--text-color);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(180deg, #242424 0%, #141414 100%);
  color: #ffd280;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-shadow: none;
}

/* Modern Card Style */
.card {
  background: var(--bg-secondary);
  border-radius: 8px;
  box-shadow: 0 2px 4px var(--shadow-color);
  margin-bottom: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow-color);
}

/* Modern Button Style */
.btn {
  background: var(--bg-secondary);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  background: var(--primary-color);
  color: var(--bg-color);
}

/* Modern Input Style */
.input {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-color);
  padding: 0.5rem;
  width: 100%;
  transition: border-color 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Modern Table Style */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1rem 0;
}

.table th {
  background: var(--bg-secondary);
  color: var(--primary-color);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.table tr:hover {
  background: var(--bg-tertiary);
}

/* Modern Navigation Style */
.nav {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: var(--primary-color);
  color: var(--bg-color);
}

@font-face { 
  font-family: Yanone Kaffeesatz; 
    src: url('../fonts/YanoneKaffeesatz-Regular.eot'); 
    src: local("Yanone Kaffeesatz"), url('../fonts/YanoneKaffeesatz-Regular.ttf'); 
} 

html { 
  height: 100%;
}

* { 
  margin: 0;
  padding: 0;
}

/* tell the browser to render HTML 5 elements as block */
article, aside, figure, footer, header, hgroup, nav, section { 
  display:block;
}

body { 
  font: normal 0.85em arial, sans-serif;
  background: linear-gradient(180deg, #242424 0%, #141414 100%);
  color: #ffd280;
  text-shadow: none;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

p { 
  padding: 0 0 20px 0;
  line-height: 1.7em;
  color: #ffd280;
}

img { 
  border: 0;
}

h1, h2, h3, h4, h5, h6 { 
  font-family: 'Cinzel', serif;
  color: #ffd280;
  text-shadow: 
    -1px -1px 1px rgba(0,0,0,0.6),
    1px -1px 1px rgba(0,0,0,0.6),
    -1px 1px 1px rgba(0,0,0,0.6),
    1px 1px 1px rgba(0,0,0,0.6);
  margin: 0 0 15px 0;
  padding: 15px 0 5px 0;
}

h1, h2, h3 { 
  color: #ffb154;
  text-transform: uppercase;
  margin: 10px 0;
}

h2 { 
  color: #ffb154;
  font-size: 165%;
  padding: 9px 0 5px 0;
}

h3 { 
  color: #ffb154;
  font-size: 130%;
  padding: 5px 0;
}

h4, h6 { 
  color: #ffb154;
  padding: 0 0 5px 0;
  font: 100% 'Cinzel', serif;
  text-transform: uppercase;
}

h5, h6 { 
  color: #ffb154;
  font: 95% 'Cinzel', serif;
  padding-bottom: 15px;
}

a, a:hover { 
  outline: none;
  text-decoration: underline;
  color: #FFFF00;
  text-shadow: none;
}

a:hover { 
  text-decoration: none;
  text-shadow: none;
}

blockquote { 
  margin: 20px 0; 
  padding: 10px 20px 0 20px;
  border: 1px solid rgba(255, 165, 0, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

li {
    list-style-type: none;
}

ul { 
  margin: 2px 0 22px 17px;
}

ul li { 
  list-style-type: none;
  margin: 0 0 6px 0; 
  padding: 0 0 4px 5px;
  line-height: 1.5em;
}

ol { 
  margin: 8px 0 22px 20px;
}

ol li { 
  margin: 0 0 11px 0;
}

.left { 
  float: left;
  width: auto;
  margin-right: 10px;
}

.right { 
  float: right; 
  width: auto;
  margin-left: 10px;
}

.center { 
  display: block;
  text-align: center;
  margin: 20px auto;
}

#main, #logo, #site_content, footer { 
  margin-left: auto; 
  margin-right: auto;
}

header {
    width: 100%;
    height: 140px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    position: relative;
    background: linear-gradient(180deg,
        rgba(0,0,0,1) 0%,
        rgba(26,26,26,0.95) 50%,
        rgba(0,0,0,1) 100%
    );
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

#logo_text {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.server-status {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 4px;
    z-index: 2;
    min-width: 150px;
    white-space: nowrap;
}


.server-status.left {
    margin-right: auto;
    margin-top: 90px;
    margin-left: -710px;
}

.server-status.right {
    margin-left: auto;
    margin-top: 90px;
    margin-right: 620px;
}

/* Players online link styling */
.players-online-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.players-online-link:hover {
    color: var(--primary-hover);
    transform: scale(1.05);
    text-shadow: 
        -0.7px -0.7px 0 #4d3319,
        0.7px -0.7px 0 #4d3319,
        -0.7px 0.7px 0 #4d3319,
        0.7px 0.7px 0 #4d3319,
        0 0 10px rgba(255, 224, 163, 0.5);
}

.click-indicator {
    font-size: 0.8em;
    margin-left: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.players-online-link:hover .click-indicator {
    opacity: 1;
    transform: scale(1.1);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-online {
    background: #00ff00;
    box-shadow: 0 0 8px #00ff00;
}

.status-offline {
    background: #ff0000;
    box-shadow: 0 0 8px #ff0000;
    color: #ff0000;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        rgba(255, 165, 0, 0.1) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    pointer-events: none;
}

header::after {
    content: 'NEXTGENOT';
    position: absolute;
    font-family: 'Cinzel', serif;
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 8px;
    color: transparent;
    background: linear-gradient(
        to bottom,
        #ffd700 0%,
        #ffd700 50%,
        #d4af37 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 15px rgba(255, 215, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.3);
    animation: glow 3s ease-in-out infinite alternate;
    z-index: 1;
    pointer-events: none;
}



nav { 
  height: 44px;
  width: 100%;
  margin: -44px auto 0 auto;
  background: transparent url(../images/menubar.png) repeat;
} 

#menu_container { 
  width: 1000px;
  margin: 0 auto 0 auto;
}

#site_content {
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  gap: 20px;
  min-height: 0;
  position: relative;
  box-sizing: border-box;
}

.left-side {
  width: 240px;
  flex: 0 0 240px;
}

.content {
  flex: 1;
  min-width: 0;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  overflow: visible;
  position: relative;
}

#sidebar_container {
  float: right;
  width: 250px;
  margin-top: 0;
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 0;
  position: relative;
  z-index: 1;
}

footer {
  display: none;
}

.form_settings { 
  margin: 15px 0 0 0;
}

.form_settings p { 
  padding: 0 0 4px 0;
}

.form_settings span { 
  float: left; 
  width: 200px; 
  text-align: left;
}
  
.form_settings input, .form_settings textarea { 
  padding: 5px; 
  width: 299px; 
  font: 100% arial; 
  border: 1px solid rgba(255, 165, 0, 0.2);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  border-radius: 4px;
}
  
.form_settings .submit { 
  font: 100% arial; 
  border: 1px solid rgba(255, 165, 0, 0.2);
  width: 99px; 
  margin: 0 0 0 212px; 
  height: 33px;
  padding: 2px 0 3px 0;
  cursor: pointer; 
  background: rgba(0, 0, 0, 0.4);
  color: #FFA500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form_settings textarea, .form_settings select { 
  font: 100% arial; 
  width: 299px;
}

.form_settings select { 
  width: 310px;
}

.form_settings .checkbox { 
  margin: 4px 0; 
  padding: 0; 
  width: 14px;
  border: 0;
  background: none;
}

.separator { 
  width: 100%;
  height: 0;
  border-top: 1px solid #D9D5CF;
  border-bottom: 1px solid #FFF;
  margin: 0 0 20px 0;
}
  
table { 
  margin: 10px 0 30px 0;
  width: 650px;
}

table tr th, table tr td { 
  padding: 7px 4px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  text-align: left;
  border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

tr.yellow td {
  background: rgba(0, 0, 0, 0.5);
  color: #ffd700;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 165, 0, 0.2);
}

tr.bnwhite td {
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 3px;
  border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

tr.special td {
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

tr.special:hover td {
  background: rgba(0, 0, 0, 0.5);
}

ul.war_list li {
   font-size:18px;
}

/* scroll to top */
#scroll { 
  position: relative; 
  width: 1000px;
  margin: 0 auto;
  bottom: 14px; 
  right: 0;
  background: red;
  padding: 0;
}
  
#scroll a { 
  float: right;
  margin: 0 0 0 0; 
  padding: 0 0 0 0;
}
  
#scroll a img { 
  float: right;
  padding: 0 0 0 0;
  margin: 0;
}





/**
Stylesheet for SooperFish by www.SooperThemes.com
Author: Jurriaan Roelofs
**/

/* Configuration of menu width */
html body ul.sf-menu ul,html body ul.sf-menu ul li { 
  width: 200px;
}

html body ul.sf-menu ul ul { 
  margin: 0 0 0 200px;
}

/* Framework for proper showing/hiding/positioning */
ul.sf-menu,ul.sf-menu * { 
  margin: 0;
  padding: 0;
}

ul.sf-menu { 
  display: block;
  position: relative;
}
  
ul.sf-menu li { 
  display: block;
  list-style: none;
  float: left;
  position: relative;
}
  
ul.sf-menu li:hover { 
  visibility: inherit; /* fixes IE7 'sticky bug' */ 
}

ul.sf-menu a { 
  display: block;
  position: relative;
}
  
ul.sf-menu ul { 
  position: absolute;
  left: 0;
  width: 150px; 
  top: auto;
  left: -999999px;
}
  
ul.sf-menu ul a { 
  zoom: 1; /* IE6/7 fix */ 
}

ul.sf-menu ul li { 
  float: left; /* Must always be floated otherwise there will be a rogue 1px margin-bottom in IE6/7 */
  width: 150px;
}
  
ul.sf-menu ul ul { 
  top: 0;
  margin: 0 0 0 150px;
}

ul.sf-menu li:hover ul,ul.sf-menu li:focus ul,ul.sf-menu li.sf-hover ul, 
ul.sf-menu ul li:hover ul,ul.sf-menu ul li:focus ul,ul.sf-menu ul li.sf-hover ul,
ul.sf-menu ul ul li:hover ul,ul.sf-menu ul ul li:focus ul,ul.sf-menu ul ul li.sf-hover ul,
ul.sf-menu ul ul ul li:hover ul,ul.sf-menu ul ul ul li:focus ul,ul.sf-menu ul ul ul li.sf-hover ul { 
  left: auto;
}
  
ul.sf-menu li:hover ul ul,ul.sf-menu li:focus ul ul,ul.sf-menu li.sf-hover ul ul,
ul.sf-menu ul li:hover ul ul,ul.sf-menu ul li:focus ul ul,ul.sf-menu ul li.sf-hover ul ul,
ul.sf-menu ul ul li:hover ul ul,ul.sf-menu ul ul li:focus ul ul,ul.sf-menu ul ul li.sf-hover ul ul,
ul.sf-menu ul ul ul li:hover ul ul,ul.sf-menu ul ul ul li:focus ul ul,ul.sf-menu ul ul ul li.sf-hover ul ul { 
  left: -999999px;
}

/* autoArrows CSS */
span.sf-arrow { 
  width: 7px;
  height: 7px;
  position: absolute;
  top: 20px;
  right: 5px;
  display: block;
  background: url(../images/arrows-white.png) no-repeat 0 0;
  overflow: hidden; /* making sure IE6 doesn't overflow and expand the box */
  font-size: 1px;
}

ul ul span.sf-arrow { 
  right: 10;
  top: 20px;
  background-position: 0 100%;
}

/* Theming the menu */
ul#nav { 
  float: left;
}

ul#nav ul { 
  background: url(../images/menu_hover.png) repeat;
  margin-top: 5px;
  padding-bottom: 15px;
}

ul#nav li a { 
  padding:7px 20px 6px 20px;
  font: 170% 'Yanone Kaffeesatz',helvetica,arial,verdana,sans;
  text-shadow: 1px 1px #000;
  text-decoration:none;
  color:#FFF;
  margin-right: 2px;
}

ul#nav li a:hover,ul#nav li a:focus { 
  color:#ff0000;
}

.galleryImage {
  max-width: 720px;
}
#news {
  width: 735px;
}

/* /////////\/\\\\\\\\
   //  Znote FORUM  \\
   /////////\/\\\\\\\\ */
hr {
  width: 610px;
  margin-left: 20px;
}
.adminTable {
  margin: 0px;
  padding: 0px;
  position: relative;
  display: block;
  top: -32px; /* EDIT THIS TO ADJUST BUTTON PRECITION */
}
.adminTable tr td {
  width: 210px;
}
.adminTable tr td form input {
  width: 150px;
  height: 35px;
}
.postButton {
  margin: 0px;
  padding: 0px;
  position: relative;
  display: block;
  float: left;
  top: -30px; /* EDIT THIS TO ADJUST BUTTON PRECITION */
}

.editThread {
  margin: 0px;
  padding: 0px;
  position: relative;
  display: block;
  float: left;
  top: -36px; /* EDIT THIS TO ADJUST BUTTON PRECITION */
}
.editThread tr, .editThread tr td, .editThread tr td form, .editThread tr td form input {
  margin: 0px;
  padding: 0px;
  height: 20px;
}
.updateTable tr td input {
  width: 500px;
}

#changelogTable {
  width: 735px;
}

#progress {
 width: 400px;
 position: relative;
 padding: 3px;
}

#percent {
  position: absolute;
  margin-left:175px;
}

#bar {
  height: 20px;
  background-color: black;
  border: 1px solid black;
}

.ThreadTable td {
  word-break: break-all;
}

.ThreadTable td.avatar {
  min-width: 100px;
  vertical-align: top;
  text-align: center;
}

#ThreadTitle {
  word-wrap: break-word;
}

/* ///////////\/\\\\\\\\\\\
   //  Znote YOUTUBE BB  \\
   ///////////\/\\\\\\\\\\\ */

div.youtube {
  width: 100%;
  max-width: 560px;
}

div.aspectratio {
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  position: relative;
}

div.aspectratio > iframe {
  position: absolute;
  top: 0; bottom: 0; left: 0; right: 0;
  width: 100%;
  height: 100%;
}

/* SHOP Category style */
#categoryNavigator {
  background: rgba(0, 0, 0, 0.4);
  max-width: 650px;
  margin-top: 20px;
  border: 1px solid rgba(255, 165, 0, 0.1);
  border-radius: 4px;
}

#categoryNavigator a {
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  display: inline-block;
  text-decoration: none;
  border-right: 1px solid #E5E5DB;
}

#categoryNavigator a:hover {
  background: rgba(255, 165, 0, 0.2);
}

table.hide {
  display: none;
}

.outfitColumn {
    position: relative;
}

.outfitColumn img {
    position: absolute;
    z-index: 1;
    top: -32px;
    left: -16px;
}

.auction_char .outfitColumn {
  height: 60px;
}
.auction_char .outfitColumn img {
  top: -16px;
  left: -20px;
}

/* Characterprofile table design */
#characterProfileTable thead th:first-of-type {
  position: relative;
  width: 28%;
}
#characterProfileTable thead th:nth-child(2) {
  /*background-color: red;*/
}

#characterProfileTable thead h1 {
  text-shadow: none;
  color: white;
  padding: 0;
}

#characterProfileTable .outfit {
  position: absolute;
  left: 0;
  top: -16px;
}
#characterProfileTable .flag {
  position: absolute;
  right: 16px;
  top: 16px;
}

/* Import Cinzel font */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

/* Main layout */
#main {
    width: 100%;
    margin: 0 auto;
    padding-top: 0;
    background: linear-gradient(180deg,
        rgba(26,26,26,0.95) 0%,
        rgba(20,20,20,1) 100px
    );
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px); /* Account for header height */
}

#site_content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 20px;
    flex: 1;
}

/* Left side container */
.left-side {
    width: 240px;
    flex: 0 0 240px;
}

/* Right sidebar */
#sidebar_container {
    float: right;
    width: 250px;
    margin-top: 0;
    background: transparent;
    border: none;
    border-radius: 7px;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Common box styling */
.left-nav, .sidebar {
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin-bottom: 20px;
    width: 240px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 165, 0, 0.1);
}

/* Box headers */
.sidebar h3, .sidebar h2, .left-nav-header {
    color: #FFA500;
    font-size: 16px;
    margin: 0;
    padding: 15px 20px;
    background: rgba(255, 165, 0, 0.05);
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    font-weight: 500;
    letter-spacing: 1px;
}

/* Navigation styling */
.left-nav {
    padding: 0;
}

.left-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #FFD700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.left-nav a:hover, .left-nav a.active {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.2);
    color: #FFA500;
}

.left-nav a i {
    width: 20px;
    color: #FFD700;
    transition: color 0.3s ease;
}

.left-nav a:hover i, .left-nav a.active i {
    color: #FFA500;
}

/* Account menu items */
#sidebar_container img[src$="ball.png"] {
    display: none;
}

#sidebar_container .sidebar a {
    padding: 12px 20px;
    display: block;
    border-bottom: 1px solid rgba(255, 165, 0, 0.05);
    transition: all 0.3s ease;
}

#sidebar_container .sidebar a:hover {
    background: rgba(255, 165, 0, 0.05);
    padding-left: 25px;
}

/* Dropdown menu */
.dropdown-content {
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 165, 0, 0.1);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 1;
    border-radius: 4px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #FFA500;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background: rgba(255, 165, 0, 0.1);
}

/* Widget containers */
.sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin-bottom: 20px;
}

.sidebar-widgets.left-widgets {
    width: 240px;
}

.sidebar-widgets.right-widgets {
    width: 250px;
    margin-top: -20px; /* Move up to be under donate section */
}

.sidebar-widgets > div {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 165, 0, 0.1);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sidebar-widgets h3 {
    color: #FFA500;
    font-size: 14px;
    margin: 0 0 12px 0;
    padding: 0 0 8px 0;
    border-bottom: 1px solid rgba(255, 165, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.sidebar-widgets ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-widgets ul li {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.sidebar-widgets ul li:last-child {
    border-bottom: none;
}

.sidebar-widgets input[type="text"],
.sidebar-widgets select {
    width: 100%;
    padding: 6px 10px;
    margin: 4px 0;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    box-sizing: border-box;
}

.sidebar-widgets button,
.sidebar-widgets input[type="submit"] {
    width: 100%;
    padding: 6px 10px;
    margin: 4px 0;
    background: rgba(255, 165, 0, 0.2);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 4px;
    color: #FFA500;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-widgets button:hover,
.sidebar-widgets input[type="submit"]:hover {
    background: rgba(255, 165, 0, 0.3);
    border-color: rgba(255, 165, 0, 0.4);
    color: #FFD700;
}

/* Remove all duplicate styles below this point */

#sidebar_container .sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#sidebar_container .sidebar ul li {
    margin: 0;
    padding: 0;
}

#sidebar_container .sidebar ul li a {
    display: block;
    padding: 8px 15px;
    color: #FFA500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    transition: all 0.2s ease;
}

#sidebar_container .sidebar ul li:last-child a {
    border-bottom: none;
}

#sidebar_container .sidebar ul li a:hover {
    background: rgba(255, 165, 0, 0.1);
    color: #FFD700;
}

.sidebar h2 {
    color: #FFA500;
    font-size: 16px;
    margin: 0;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px 8px 0 0;
    text-transform: uppercase;
}

.sidebar .inner {
    padding: 10px 0;
}

.sidebar .inner ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Top 5 Players Styling */
.top-players {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 20px;
    width: 250px;
    box-sizing: border-box;
}

.top-players h3 {
    color: #FFA500;
    font-size: 16px;
    margin: 0;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px 8px 0 0;
    text-transform: uppercase;
}

.top-players ul {
    list-style: none;
    margin: 0;
    padding: 10px 15px;
}

.top-players ul li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    font-size: 14px;
}

.top-players ul li:last-child {
    border-bottom: none;
}

.top-players ul li a {
    color: #FFA500;
    text-decoration: none;
}

.top-players ul li a:hover {
    color: #FFD700;
}

/* Highscore Search Styling */
.highscore-search {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.highscore-search h3 {
    color: #ffd700;
    font-size: 16px;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
    text-align: center;
}

.highscore-search .form-group {
    margin-bottom: 15px;
}

.highscore-search label {
    display: block;
    color: #ffd700;
    margin-bottom: 5px;
    font-size: 14px;
}

.highscore-search .modern-select {
    width: 100%;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.highscore-search .modern-select:hover {
    border-color: rgba(255, 165, 0, 0.4);
    background: rgba(0, 0, 0, 0.5);
}

.highscore-search .modern-select:focus {
    outline: none;
    border-color: rgba(255, 165, 0, 0.6);
    box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.1);
}

.highscore-search .modern-button {
    width: 100%;
    padding: 10px;
    background: linear-gradient(to bottom right, rgba(255, 165, 0, 0.2), rgba(255, 165, 0, 0.1));
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 4px;
    color: #ffd700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.highscore-search .modern-button:hover {
    background: linear-gradient(to bottom right, rgba(255, 165, 0, 0.3), rgba(255, 165, 0, 0.2));
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.highscore-search .modern-button i {
    font-size: 14px;
}

/* Add new trademark styling */
.trademark {
    text-align: center;
    padding: 15px 0;
    color: rgba(255, 165, 0, 0.6);
    font-size: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 165, 0, 0.1);
    margin-top: auto;
}

.logo-link {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.logo-link:hover::after {
    opacity: 0.8;
}

/* Donate Box Styling */
.donate-box {
    background: linear-gradient(145deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    border: 1px solid rgba(255, 165, 0, 0.15);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.donate-box h2 {
    text-align: center;
    padding: 10px 20px;
    margin: 0;
    background: rgba(255, 165, 0, 0.1);
    border-bottom: 1px solid rgba(255, 165, 0, 0.15);
    font-size: 18px;
    letter-spacing: 1px;
    color: #e6b800; /* More muted gold color */
}

.donate-content {
    padding: 15px;
    text-align: center;
}

.donate-content p {
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #e6b800; /* More muted gold color */
}

.donate-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.payment-methods {
    background: rgba(0,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
    margin: 0 auto;
}

.payment-icons {
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-icons:hover {
    opacity: 1;
}

.donate-button {
    background: linear-gradient(145deg, #e6b800 0%, #cc9900 100%); /* More muted gold gradient */
    color: #000;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: none;
    box-shadow: 0 2px 8px rgba(230, 184, 0, 0.3);
}

.donate-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 184, 0, 0.4);
    background: linear-gradient(145deg, #f2c200 0%, #e6b800 100%);
}

.donate-button i {
    font-size: 16px;
}

/* Default background for content boxes */
.sidebar, .box, table tr:nth-child(odd), .achievement-box, .character-list, .shop-item, .house-list {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 165, 0, 0.1);
    transition: all 0.3s ease;
}

/* Hover effect for interactive elements */
.sidebar:hover, .box:hover, .shop-item:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 165, 0, 0.2);
}

/* Replace old grey backgrounds */
.sidebar ul li, .box-content, table td, .achievement-row, .character-row {
    background: transparent;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

/* Alternative row styling */
table tr:nth-child(even), .achievement-box:nth-child(even), .character-list:nth-child(even) {
    background: rgba(0, 0, 0, 0.3);
}

/* Header sections */
.box-header, .sidebar-header, table th {
    background: rgba(0, 0, 0, 0.5);
    color: #ffd700;
    border-bottom: 1px solid rgba(255, 165, 0, 0.2);
}

/* Modern Select and Button Styling */
select, input[type="submit"] {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 165, 0, 0.2);
    background: rgba(0, 0, 0, 0.4);
    color: #FFA500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa500' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
}

select:hover, input[type="submit"]:hover {
    background-color: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 165, 0, 0.4);
    color: #FFD700;
}

select:focus {
    outline: none;
    border-color: rgba(255, 165, 0, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.1);
}

/* Houses page specific styling */
.houses-filter {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.houses-filter select,
.houses-filter input[type="submit"] {
    margin: 0;
}

.houses-filter input[type="submit"] {
    background: linear-gradient(145deg, rgba(255, 165, 0, 0.2) 0%, rgba(255, 165, 0, 0.1) 100%);
    border: 1px solid rgba(255, 165, 0, 0.3);
    padding: 8px 16px;
}

.houses-filter input[type="submit"]:hover {
    background: linear-gradient(145deg, rgba(255, 165, 0, 0.3) 0%, rgba(255, 165, 0, 0.2) 100%);
    border-color: rgba(255, 165, 0, 0.4);
}

/* Highscores page specific styling */
.highscore-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.highscore-controls select,
.highscore-controls input[type="submit"] {
    margin: 0;
}

.highscore-controls input[type="submit"] {
    background: linear-gradient(145deg, rgba(255, 165, 0, 0.2) 0%, rgba(255, 165, 0, 0.1) 100%);
    border: 1px solid rgba(255, 165, 0, 0.3);
    padding: 8px 16px;
}

.highscore-controls input[type="submit"]:hover {
    background: linear-gradient(145deg, rgba(255, 165, 0, 0.3) 0%, rgba(255, 165, 0, 0.2) 100%);
    border-color: rgba(255, 165, 0, 0.4);
}

/* Override any old select/button styles */
.form_settings select,
.sidebar-widgets select,
.highscore-search select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffa500' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
    padding-right: 32px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 165, 0, 0.2);
    color: #FFA500;
}

.form_settings select:hover,
.sidebar-widgets select:hover,
.highscore-search select:hover {
    background-color: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 165, 0, 0.4);
    color: #FFD700;
}

/* Highscores page View button */
.content input[type="submit"],
.content button[type="submit"],
.content input[value="View"] {
    background: linear-gradient(to bottom right, rgba(255, 165, 0, 0.2), rgba(255, 165, 0, 0.1));
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 4px;
    color: #ffd700;
    padding: 8px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: none;
    min-width: 100px;
}

.content input[type="submit"]:hover,
.content button[type="submit"]:hover,
.content input[value="View"]:hover {
    background: linear-gradient(to bottom right, rgba(255, 165, 0, 0.3), rgba(255, 165, 0, 0.2));
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 165, 0, 0.4);
    color: #fff;
}

/* Highscores page select styling */
.content select {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 4px;
    color: #ffd700;
    padding: 8px 12px;
    font-size: 14px;
    margin-right: 10px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.content select:hover {
    border-color: rgba(255, 165, 0, 0.4);
    background: rgba(0, 0, 0, 0.5);
}

.content select:focus {
    outline: none;
    border-color: rgba(255, 165, 0, 0.6);
    box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.1);
}

.details-section {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.details-section h3 {
    color: #ff7515;
    margin: -15px -15px 15px -15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

.stat-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.stat-table tr {
    display: contents;
}

.stat-table td {
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 165, 0, 0.1);
}

.stat-table td:first-child {
    color: #ff7515;
    margin-right: 10px;
}

.stat-table td:last-child {
    color: #ffd700;
    text-align: right;
}

.left-nav a.active,
.left-nav a.active:hover {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.2);
    color: #FFA500;
    transform: translateX(5px);
}

.left-nav a.active i,
.left-nav a.active:hover i {
    color: #FFA500;
}

/* Make sure normal hover still works */
.left-nav a:hover {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.2);
    color: #FFA500;
    transform: translateX(5px);
}

.left-nav a:hover i {
    color: #FFA500;
}

/* Update text colors for various elements */
fg {
  color: #ffd280;
}

vg, txt {
  color: #ffd280;
}

.attribute strong, .vocation strong {
  color: #ffd280;
}

/* Update background colors to be slightly lighter */
.attribute, .vocation, .promotion-section, .spell-category, .tab-description {
  background: rgba(0, 0, 0, 0.35);
}

.tab button {
  color: #ffd280;
}

.tab button:hover {
  color: #ffd280;
}

.tab button.active {
  color: #ffd280;
}
