html{
height: 100%;
overflow:auto;
    font-family: 'Data Control', sans-serif;
}

/* chat box */

* {
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Data Control', sans-serif;
    font-weight: 300;
  }
  
  form label {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  input {
    font-family: 'Data Control', sans-serif;
  }
  
  a {
    color: #0000ff;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  #wrapper,
  #loginform {
    margin: 0 auto;
    padding-bottom: 25px;
    background: #004358;
    width: 200px;
    max-width: 100%;
    border: 2px solid #000;
    border-radius: 10px;
  }
  
  #loginform {
    padding-top: 18px;
    text-align: center;
  }
  
  #loginform p {
    padding: 15px 25px;
    font-size: 1.4rem;
    font-weight: bold;
  }
  
    #chatbox99 {
    text-align: left;
    margin: 0 auto;
    margin-bottom: 25px;
    background: #7cd9ff;
    height: 250px;
    width: 185px;
    border: 1px solid #000;
    overflow: auto;
    border-radius: 10px;
    border-bottom: 2px solid #000;
	border-top: 2px solid #000;
	border-right: 1px solid #000;
	border-left: 2px solid #000;
	color:black;
  display: block;
  text-overflow: ellipsis;
  word-wrap: break-word;
  }
  
  #chatbox {
    text-align: left;
    margin: 0 auto;
    margin-bottom: 25px;
    background: #7cd9ff;
    height: 250px;
    width: 185px;
    border: 1px solid #000;
    overflow: auto;
    border-radius: 10px;
    border-bottom: 2px solid #000;
	border-top: 2px solid #000;
	border-right: 1px solid #000;
	border-left: 2px solid #000;
	color:black;
  display: block;
  text-overflow: ellipsis;
  word-wrap: break-word;
  }
  
  
  .chatboxmsg {
	float:left;
    text-align: left;
    margin: 2px;
    padding: 3px;
    background: #00B1E0;
    width: 93%;
    border: 1px solid #000;
    overflow: auto;
    border-radius: 3px;
	color:black;
  display: block;
  text-overflow: ellipsis;
  word-wrap: break-word;
  }
  
  #usermsg {
    flex: 1;
    border-radius: 4px;
    border: 2px solid #000;
	background-color: #7cd9ff;
  }
  
  #name {
    border-radius: 4px;
    border: 1px solid #ff9800;
    padding: 2px 8px;
  }
  
  #submitmsg,
  #enter{
    background: orange;
    border: 2px solid #000;
    color: white;
    padding: 4px 10px;
    font-weight: bold;
    border-radius: 4px;
  }
  
  .error {
    color: #ff0000;
  }
  
  #menu {
    display: flex;
  }
  
  #menu p.welcome {
    flex: 1;
	color:#ff8000;
  }
  
  a#exit {
    color: white;
    background: #c62828;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
  }
  
  .msgln {
    margin: 0 0 5px 0;
  }
  
  .msgln span.left-info {
    color: orangered;
  }
  
  .msgln span.chat-time {
    color: #000;
    font-size: 80%;
    vertical-align: super;
	border-bottom:1px black solid;
	float:right;
  }
  
  .msgln b.user-name, .msgln b.user-name-left {
    font-weight: bold;
	background: rgba(51, 170, 51, .5);
    color: #000;
    padding: 2px 2px;
    font-size: 90%;
    border-radius: 4px;
    margin: 0 5px 0 0;
	border:1px black solid;
    vertical-align: super;
	float:left;
  }
  
  .msgln a.user-name-link {
    float: left;
    display: inline-block;
    text-decoration: none;
  }
  
  .msgln a.user-name-link:hover {
    text-decoration: underline;
  } 
  
  
  
  .msgln b.user-name-left {
    background: orangered;
	border-bottom:1px black solid;
	
  }

/* width */
::-webkit-scrollbar {
  width: 12px;
  border-radius:10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #004358;
  border:1px black solid;
  border-radius:10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: orange;
  border-radius:10px;
  border:1px black solid;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: orange;
  border-radius:10px;
  border:1px black solid;
}
/* end chatbox */

#chatbox2 {
    margin-bottom: 25px;
    padding: 10px;
    background: #00B1E0;
    border: 1px solid #000;
	border-radius: 10px;
  display: block;
color:black;
  margin: 0 auto;
  }

@import url('https://fonts.cdnfonts.com/css/data-control');


body
{ font-family: 'Data Control', sans-serif;
  padding: 0px;
  Margin: 0px;
  font-size: .78em;
  color: #635B53;
  background:#101112;
  width:99%;
  height:100%;
  }
  
  #main, #logo, #menubar, #site_content, #footer
{ margin-left: auto; 
  margin-right: auto;}
  
#main {
    background: #004358; 
    width: 100%;
    max-width: 1200px; /* Use max-width instead of fixed width */
    border: 2px solid #000;
    min-width: 800px; /* Prevent it from getting too small */
}
  
#site_content {
    width: auto; /* Change from 80% to auto */
    flex: 1; /* Take remaining space */
    min-width: 0; /* Allow it to shrink if needed */
    margin-top: 10px;
    margin-bottom: 10px;
    border: 2px solid #000;
    overflow: hidden;
    background-color: #193c69;
    border-radius: 20px;
    float: none !important;
    clear: both !important;
}


@media screen and (max-width: 768px) {
    html {
        overflow-x: auto;
    }
    
    body {
        overflow-x: auto;
        min-width: 0;
    }
    
    #main {
        min-width: 0 !important;
        width: 100%;
    }
    
    #page_wrapper {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 10px;
    }
    
    .left-sidebar {
        width: 100%;
        order: 2; /* Put sidebar below content on mobile */
    }
    
    .right-sidebar {
        width: 100%;
        order: 3; /* Put right sidebar below content on mobile */
    }
    
    #site_content {
        order: 1;
    }
}

p
{ margin: 0px;
  padding: 0px 0px 16px 0px;
  line-height: 1.7em;}

h1, h2, h3, h4
{ font-size: 150%;
  padding: 7px 0px 5px 0px; 
  margin: 0px 0px 12px 0px; 
  font-weight: normal;
  color: #342F28;
  font-family: 'Data Control', sans-serif;}

h1, h3
{ text-transform: uppercase;
  margin: 10px 0px 20px 0px;
  padding: 5px 20px 5px 0px;
  border-bottom: 1px solid #CCC6B4;}

a, a:hover
{ border-bottom: 0px dotted;
  color: #635B53;
  text-decoration: none;}

a:hover
{ border-bottom: 0px solid;
  color: #A4AA04;
  text-decoration: none;
  }

img
{ border: 0px; 
  margin: 0px; 
  padding: 0px;}

a
{ outline: none;
text-decoration: none;
}

form
{ padding: 0; 
  margin: 0;}

.left
{ float: left;
  margin-right: 10px;}

.right
{ float: right; 
  margin-left: 10px;}

.center
{ display: block;
  text-align: center;
  margin: 0 auto;}

blockquote
{ margin: 20px 0px 20px 0px; 
  padding: 10px 20px 0px 20px;
  border: 1px solid #E5E5DB;
  background: #FFF;}

ul
{ margin: 2px 0px 18px 16px;
  padding: 0px;}

ul li
{ list-style-type: square;
  margin: 0px 0px 6px 0px; 
  padding: 0px;}

ol
{ margin: 8px 0px 0px 24px;
  padding: 0px;}

ol li
{ margin: 0px 0px 11px 0px; 
  padding: 0px;}

#header
{ 
background: #29839F;  border-bottom: 2px solid #000;
}



/* ====================================
   MODERN DROPDOWN MENUBAR STYLES
   ==================================== */

#menubar {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-top: 2px solid rgba(100, 149, 237, 0.3);
    border-bottom: 2px solid rgba(100, 149, 237, 0.3);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.main-nav {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

ul#menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    width: 100%;
}

ul#menu li {
    list-style: none;
}

.menu-item {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
    border-left: 1px solid rgba(100, 149, 237, 0.2);
    border-right: 1px solid rgba(100, 149, 237, 0.2);
}

.menu-item:first-child {
    border-left: none;
}

.menu-item:last-child {
    border-right: none;
}

.menu-link {
    display: block;
    padding: 12px 20px;
    color: #87ceeb;
    text-decoration: none;
    font-family: 'Data Control', sans-serif;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    margin: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.menu-link:hover {
    background: rgba(100, 149, 237, 0.3);
    color: #87ceeb;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    box-shadow: 0 4px 12px rgba(100, 149, 237, 0.4), inset 0 1px 0 rgba(255,255,255,0.1);
    transform: translateY(-1px);
    border: 1px solid rgba(100, 149, 237, 0.4);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle .arrow {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown.active .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(26, 26, 46, 0.98);
    border: 2px solid rgba(100, 149, 237, 0.4);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
    list-style: none;
    margin: 0;
    padding: 0;
    backdrop-filter: blur(10px);
    /* Add small gap to prevent flickering when moving mouse */
    margin-top: 2px;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(100, 149, 237, 0.2);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block !important;
    padding: 12px 20px !important;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    font-family: 'Data Control', sans-serif !important;
    font-size: 13px !important;
    font-weight: normal !important;
    text-transform: none !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-align: left !important;
}

.dropdown-menu a:hover {
    background: rgba(100, 149, 237, 0.3) !important;
    color: #87ceeb !important;
    padding-left: 25px !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(100, 149, 237, 0.2) !important;
    transform: translateX(2px) !important;
    border-left: 3px solid rgba(100, 149, 237, 0.6) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}

/* Ensure all dropdown links are styled identically */
.dropdown-menu li a,
.dropdown-menu li a:link,
.dropdown-menu li a:visited,
.dropdown-menu li a:active {
    display: block !important;
    padding: 12px 20px !important;
    color: #e2e8f0 !important;
    text-decoration: none !important;
    font-family: 'Data Control', sans-serif !important;
    font-size: 13px !important;
    font-weight: normal !important;
    text-transform: none !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-align: left !important;
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 15px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1002;
}

.hamburger {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    ul#menu {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.7);
        box-shadow: 0 4px 15px rgba(0,0,0,0.5);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        backdrop-filter: blur(10px);
        border: 2px solid rgba(100, 149, 237, 0.3);
    }
    
    ul#menu.active {
        max-height: 1000px;
    }
    
    .menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(100, 149, 237, 0.2);
        border-left: none;
        border-right: none;
        flex: none;
    }
    
    .menu-link {
        padding: 15px 20px;
        font-size: 16px;
        text-align: left;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(26, 26, 46, 0.95);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-menu a {
        color: #e2e8f0;
        padding: 10px 30px;
        font-size: 14px;
    }
    
    .dropdown-menu a:hover {
        background: rgba(100, 149, 237, 0.3) !important;
        color: #87ceeb !important;
        padding-left: 35px !important;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
        transform: translateX(3px) !important;
        border-left: 3px solid rgba(100, 149, 237, 0.6) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    }
    
    .dropdown-toggle .arrow {
        float: right;
        margin-top: 2px;
    }
}

@media (max-width: 480px) {
    .menu-link {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .dropdown-menu a {
        padding: 8px 25px;
        font-size: 13px;
    }
}

.sidebar
{ float: right;
  width: 20%;
  padding: 20px 25px 15px 15px;}

/* When sidebar is in right-sidebar, remove float and use full width */
.right-sidebar .sidebar {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box;
    margin: 0 !important;
    display: block !important;
}


.sidebar ul
{ width: 178px; 
  padding-top: 4px; 
  margin: 4px 0px 30px 0px;}

.sidebar li
{ list-style: none; 
  padding: 0px 0px 2px 0px; }

.sidebar li a, .sidebar li a:hover
{ text-decoration: none; 
  padding: 4px 0px 4px 35px;
  display: block;
  background: transparent url(arrow.png) no-repeat left center;
  color: #555;
  border: none;} 

.sidebar li a.selected, .sidebar li a:hover, .sidebar li a.selected:hover
{ color: #A4AA04;} 

#content
{ max-width: 100%; /* Changed from 72% to allow full width in flexbox */
  background: #193c69;
  }

#footer
{ width: 100%;
  font-family: 'Data Control', sans-serif;
  font-size: 90%;
  height: 80px;
  padding: 20px 0px 4px 0px;
  margin-bottom: 0px;
  text-align: center; 
  background: #29839F;
  color: #A8AA94;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-top: 2px solid #000;
  }

#footer a
{ color: #A8AA94;
  text-decoration: none;}

#footer a:hover
{ color: #FFF;
  text-decoration: none;}

.search
{ width: 122px;
  border: 1px solid #CCC6B4;
  padding: 4px;
  color: #635B53;}

.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 #E5E5DB; 
  background: #FFF; 
  color: #47433F;}
  
.form_settings .submit
{ font: 100% arial; 
  border: 1px solid; 
  width: 99px; 
  margin: 0 0 0 212px; 
  height: 33px;
  padding: 2px 0 3px 0;
  cursor: pointer; 
  background: #3B3B3B; 
  color: #FFF;}

.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.customTableex {
  border-collapse: separate !important;
    width: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-collapse: collapse;
    border-width: 2px;
    border-color: #4c4c4c;
    border-style: ridge;
    color: #000000;
	border-radius: 0px 0px 0px 0px;
  }
  
  table.customTableex th{
    background-image: url("images/backgrounds/sewers.jpg");
	border-radius: 0px 0px 0px 0px;
  }
  
  table.customTableex td {
    border-width: 2px;
    border-color: #4c4c4c;
    border-style: ridge;
    padding: 5px;
    text-align: center;
    background-color: #F6F4F0;
    border-top:none;
	border-radius: 0px 0px 0px 0px;
  }
  
  table.customTableex thead {
    background-color: #F6F4F0;
  }

  table.following {
	 border-collapse: separate !important;
  width: 100%;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  border-collapse: collapse;
  border-width: 2px;
  border-color: #4c4c4c;
  border-style: ridge;
  color: #000000;
  border-radius: 20px;
}

table.following th{
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);	
  border-width: 2px;
  border-radius: 20px;
  font-size:15px;
}

table.following td {
  border-width: 2px;
  border-color: #4c4c4c;
  border-style: ridge;
  padding: 5px;
  text-align: center;
  background-color: #F6F4F0;
  border-radius: 20px;
}

table.following thead {
  background-color: #F6F4F0;
  border-radius: 20px;
}

table.customTable {
  border-collapse: separate !important;
  width: 100%;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);	
  border-collapse: collapse;
  border-width: 2px;
  border-color: #4c4c4c;
  border-style: ridge;
  color: #000000;
  border-radius: 10px;
  padding:5px;
}

table.customTable th{
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);	
  border-width: 2px;
  border-radius: 10px;
}

table.customTable td {
  border-width: 2px;
  border-color: #4c4c4c;
  border-style: ridge;
  padding: 5px;
  text-align: center;
  background-color: #4ccff1;
  border-radius: 5px;
}

table.customTable thead {
  background-color: #F6F4F0;
}

  table.customTable2 {
  border-collapse: separate !important;
  width: 100%;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);	
  border-collapse: collapse;
  border-width: 2px;
  border-color: #4c4c4c;
  border-style: ridge;
  color: #000000;
  border-radius: 20px;
}

table.customTable2 th {
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);	
  border-width: 2px;
  border-radius: 20px;
}

table.customTable2 td{
  border-width: 2px;
  border-color: #4c4c4c;
  border-style: ridge;
  padding: 5px;
  text-align: center;
  background-color: #4ccff1;
  border-radius: 20px;
}

table.customTable2 thead {
  background-color: #F6F4F0;
}

.myButton {
	background-color:#44c767;
	border-radius:28px;
	border:1px solid #18ab29;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family: 'Data Control', sans-serif;
	font-size:15px;
	padding:0px 4px;
	text-decoration:none;
	text-shadow:0px 0px 0px #2f6627;
}
.myButton:hover {
	background-color:#5cbf2a;
}
.myButton:active {
	position:relative;
	top:1px;
}

.btn {
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  font-family: 'Data Control', sans-serif;
  color: #ffffff;
  font-size: 16px;
  background: #289955;
  padding: 10px 20px 10px 20px;
  border: solid #000000 2px;
  text-decoration: none;
  width:125px;
}

.btn:hover {
  background: #008009;
  text-decoration: none;
    width:125px;
}

.catchbtn {
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  font-family: 'Data Control', sans-serif;
  color: #ffffff;
  font-size: 16px;
  background: #BD0101;
  padding: 10px 20px 10px 20px;
  border: solid #000000 2px;
  text-decoration: none;
    width:125px;
}

.catchbtn:hover {
  background: #910000;
  text-decoration: none;
    width:125px;
}

.btn2 {
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  font-family: 'Data Control', sans-serif;
  color: #ffffff;
  font-size: 16px;
  background: #289955;
  padding: 8px 15px 8px 15px;
  border: solid #000000 2px;
  text-decoration: none;
}

.btn2:hover {
  background: #008009;
  text-decoration: none;
}

.btn3 {
  -webkit-border-radius: 8;
  -moz-border-radius: 8;
  border-radius: 8px;
  font-family: 'Data Control', sans-serif;
  color: #ffffff;
  font-size: 14px;
  background: #289955;
  padding: 4px 8px 4px 8px;
  border: solid #000000 2px;
  text-decoration: none;
}

.btn3:hover {
  background: #008009;
  text-decoration: none;
}

.inline {
  display: inline;
}

.link-button {
  background: none;
  border: none;
  color: blue;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Data Control', sans-serif;
  color: #635B53;
}
.link-button:hover {
  background: none;
  border: none;
  color: blue;
  text-decoration: none;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Data Control', sans-serif;
  color: #A4AA04;
}
.link-button:focus {
  outline: none;
}
.link-button:active {
  color:red;
}

.glow {
  font-size: 20px;
  color: #fff;
  text-align: center;
  -webkit-animation: glow 1s ease-in-out infinite alternate;
  -moz-animation: glow 1s ease-in-out infinite alternate;
  animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
  }
  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
  }
}

.selectbox {
        width: 100px;
        height: 25px;
        border: 1px solid #000;
        font-size: 18px;
        color: #000;
        background-color: #eee;
        border-radius: 5px;
		text-align: center;
      }

.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;float:bottom;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#000;text-decoration:none;background-color:#fff;border:1px solid #000}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#000}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#000}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#000}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}

.popup {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  justify-content: center;
  align-items: center;
}

.popup-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
}

/* Text selection enabled */
body {
  -webkit-user-select: text; /* Chrome/Safari */
  -moz-user-select: text;    /* Firefox */
  -ms-user-select: text;     /* IE/Edge */
  user-select: text;         /* Standard */
}

/* Allow text selection inside chatbox and form fields */
#chatbox,
#usermsg,
input,
textarea {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Ensure links in chatbox are clickable */
#chatbox a {
  color: blue !important;
  text-decoration: underline !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 9999 !important;
  position: relative !important;
  display: inline-block !important;
}

#chatbox a:hover {
  color: darkblue !important;
}


/* ====================================
   THREE COLUMN LAYOUT: LEFT SIDEBAR | CONTENT | RIGHT SIDEBAR
   ==================================== */

/* Wrapper for the layout */
#page_wrapper {
    display: flex !important;
    flex-direction: row !important; /* Explicitly set row direction */
    flex-wrap: nowrap !important; /* Prevent wrapping - MUST be before other flex properties */
    gap: 10px !important;
    align-items: flex-start !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding-right: 10px !important;
    justify-content: flex-start !important; /* Align main content and sidebar to the start within the page wrapper */
    overflow-x: auto !important; /* Allow horizontal scroll if needed */
    position: relative !important;
    min-height: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Flexbox order for three-column layout - ensure proper order */
#page_wrapper > .left-sidebar,
#page_wrapper .left-sidebar {
    order: 1 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

#page_wrapper > #site_content,
#page_wrapper #site_content {
    order: 2 !important;
    flex: 1 1 auto !important;
    flex-shrink: 1 !important;
    flex-grow: 1 !important;
    min-width: 0 !important;
}

#page_wrapper > .right-sidebar,
#page_wrapper .right-sidebar {
    order: 3 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* Left Sidebar */
.left-sidebar {
    width: 200px;
    flex-shrink: 0;
    margin-top: 10px;
}

.right-sidebar {
    width: 200px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 200px !important;
    margin-top: 5px;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    margin-right: -6px;
    margin-left: 0;
    order: 3 !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    display: block !important;
    align-self: flex-start !important;
    overflow: hidden !important;
    contain: layout style paint !important;
    box-sizing: border-box !important;
    vertical-align: top !important;
    isolation: isolate !important;
}

/* Override sidebar styles when inside right-sidebar - must override float:right */
.right-sidebar .sidebar,
.right-sidebar > .sidebar,
#page_wrapper .right-sidebar .sidebar,
body #page_wrapper .right-sidebar .sidebar,
html body #page_wrapper .right-sidebar .sidebar,
#page_wrapper .right-sidebar .sidebar {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    display: block !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
}

/* Ensure right-sidebar is properly positioned in flexbox - MUST stay in flex flow */
#page_wrapper .right-sidebar,
body #page_wrapper .right-sidebar,
html body #page_wrapper .right-sidebar,
#page_wrapper > .right-sidebar,
body #page_wrapper > .right-sidebar,
body #page_wrapper .right-sidebar,
html body #page_wrapper .right-sidebar {
    display: block !important;
    position: relative !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 200px !important;
    float: none !important;
    clear: none !important;
    order: 3 !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-left: 0 !important;
    margin-right: -6px !important;
    align-self: flex-start !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    z-index: 1 !important;
    transform: none !important;
    will-change: auto !important;
}

/* Site content comes after both sidebars */
#page_wrapper #site_content {
    /* All your original site_content styles will still apply */
}

/* Sidebar Headers */
.sidebar-header {
    background: #289955;
    color: white;
    text-align: center;
    padding: 8px;
    font-family: 'Data Control', sans-serif;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid #000;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

/* Sidebar Content */
.sidebar-content {
    background: #193c69;
    border: 2px solid #000;
    border-radius: 0 0 10px 10px;
    padding: 10px;
    font-family: 'Data Control', sans-serif;
    font-size: 10px;
}

/* Left Sidebar Specific */
.roaming-info {
    text-align: center;
    color: white;
    margin-bottom: 15px;
}

.pokemon-sprite {
    font-size: 30px;
    margin-bottom: 5px;
}

.trainer-network h4 {
    color: #289955;
    margin: 10px 0 5px 0;
    font-size: 10px;
}

.trainer-network p {
    color: #289955;
    margin: 8px 0 3px 0;
    font-size: 9px;
    font-weight: bold;
}

.rule-text {
    background: #00B1E0;
    padding: 6px;
    margin: 5px 0;
    border: 1px solid #000;
    border-radius: 3px;
    font-size: 8px;
    color: #000;
    line-height: 1.2;
}

.send-btn {
    background: #ff8c00;
    color: white;
    border: 2px solid #000;
    padding: 6px 12px;
    border-radius: 3px;
    font-family: 'Data Control', sans-serif;
    font-size: 9px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    width: 100%;
}

.send-btn:hover {
    background: #ff7700;
}

/* Right Sidebar Specific */
.events-list {
    max-height: 400px;
    overflow-y: auto;
}

.event-item {
    background: #00B1E0;
    border: 1px solid #000;
    border-radius: 3px;
    padding: 6px;
    margin-bottom: 4px;
    font-size: 8px;
    line-height: 1.2;
}

.event-item p {
    margin: 0;
    color: #000;
}

.event-item strong {
    color: #289955;
}














        body {
            margin: 0;
            padding: 0px;
            background: #101112;
            font-family: 'Data Control', sans-serif;
        }
        
        .banner-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            background: #004358;
            border: 2px solid #000;
        }
        
        .banner {
            width: 100%;
            height: 127px;
            background: linear-gradient(135deg, #00B1E0 0%, #29839F 50%, #004358 100%);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .banner::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255,255,255,0.08) 0%, transparent 50%);
        }
        
        .pokeball-bg {
            position: absolute;
            width: 60px;
            height: 60px;
            opacity: 0.1;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #fff, #ddd);
        }
        
        .pokeball-1 { top: 10px; left: 50px; }
        .pokeball-2 { top: 40px; right: 80px; }
        .pokeball-3 { bottom: 15px; left: 150px; }
        .pokeball-4 { top: 20px; right: 200px; }
        
        .logo-content {
            position: relative;
            z-index: 10;
            text-align: center;
            color: white;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        }
        
        .site-title {
            font-family: 'Data Control', sans-serif;
            font-size: 48px;
            font-weight: bold;
            margin: 0;
            letter-spacing: 3px;
            background: linear-gradient(45deg, #ffffff, #e0f4ff, #ffffff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
        }
        
        .site-subtitle {
            font-family: 'Data Control', sans-serif;
            font-size: 14px;
            margin: -5px 0 0 0;
            color: #b8e6ff;
            letter-spacing: 2px;
            text-transform: uppercase;
        }
        
        .pokemon-elements {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 40px;
            opacity: 0.7;
        }
        
        .pokemon-elements-right {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 35px;
            opacity: 0.6;
        }
        
        .lightning {
            position: absolute;
            color: #ffeb3b;
            font-size: 20px;
            opacity: 0.4;
            animation: sparkle 2s ease-in-out infinite alternate;
        }
        
        .lightning-1 { top: 15px; left: 300px; animation-delay: 0s; }
        .lightning-2 { bottom: 20px; right: 300px; animation-delay: 1s; }
        .lightning-3 { top: 30px; right: 400px; animation-delay: 0.5s; }
        
        @keyframes sparkle {
            0% { opacity: 0.2; transform: scale(0.8); }
            100% { opacity: 0.6; transform: scale(1.2); }
        }
        
        .banner-border {
            position: absolute;
            top: 3px;
            left: 3px;
            right: 3px;
            bottom: 3px;
            border: 1px solid rgba(255,255,255,0.2);
            pointer-events: none;
        }
        
        .demo-text {
            color: white;
            text-align: center;
            margin-top: 20px;
            font-family: 'Data Control', sans-serif;
        }

/* Start Battle Page Redesign Styles */

.battle-prep-container {
    background-color: #34495e; /* Slightly lighter dark background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 600px; /* Increased max-width for better display */
    margin: 20px auto; /* Center the container */
    animation: fadeIn 1s ease-in-out;
    color: #ecf0f1; /* Light text */
}

.main-title {
    color: #e74c3c; /* Reddish for battle theme */
    margin-bottom: 30px;
    font-size: 2.2em; /* Larger title */
    text-shadow: 3px 3px #c0392b;
    font-family: 'Data Control', sans-serif; /* Ensure consistent font */
}

.message-box {
    padding: 15px;
    border-radius: 8px;
    margin: 20px auto;
    width: 80%;
    font-weight: bold;
    font-size: 1.1em;
}

.message-box.error {
    background-color: #e74c3c;
    color: white;
}

.message-box.info {
    background-color: #2980b9;
    color: white;
}

.pokemon-summary-card {
    background-color: #2c3e50; /* Darker background for the card */
    border: 2px solid #5fa2dd; /* Blue border */
    border-radius: 10px;
    padding: 20px;
    margin: 30px auto;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.card-label {
    font-size: 1.2em;
    font-weight: bold;
    color: #ffd700; /* Gold color */
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.pokemon-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pokemon-sprite-large {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.6));
}

.pokemon-details {
    text-align: left;
}

.pokemon-name {
    font-size: 1.6em;
    color: #4CAF50; /* Green color for name */
    margin: 0 0 5px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.pokemon-level, .pokemon-nature {
    font-size: 1em;
    color: #b0c4de; /* Light blue-gray */
    margin: 3px 0;
}

.difficulty-selection-new {
    margin-top: 40px;
}

.section-title {
    font-size: 1.5em;
    color: #f0f0f0;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Data Control', sans-serif;
}

.difficulty-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.difficulty-options-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.difficulty-radio {
    display: none;
}

.difficulty-option {
    background-color: #2980b9; /* Blueish for selection */
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-size: 1.0em;
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.difficulty-option:hover {
    background-color: #2471a3;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.difficulty-radio:checked + .difficulty-option {
    background-color: #27ae60; /* Green when checked */
    border-color: #2ecc71;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.8);
    transform: translateY(-5px);
}

.difficulty-text {
    font-size: 1.1em;
}

.difficulty-desc {
    font-size: 0.8em;
    opacity: 0.8;
}

.action-button {
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.action-button:hover {
    background-color: #c0392b;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.5);
}

.action-button:active {
    transform: translateY(0);
    box-shadow: none;
}

.button-icon {
    font-size: 1.3em;
}

.no-pokemon-message {
    background-color: #e74c3c;
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 400px;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.go-to-storage-button {
    background-color: #3498db; /* Blue for storage button */
    margin-top: 20px;
}

.go-to-storage-button:hover {
    background-color: #2980b9;
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.5);
}

@media (max-width: 768px) {
    .main-title {
        font-size: 1.5em;
    }
    .pokemon-info {
        flex-direction: column;
        gap: 10px;
    }
    .difficulty-options-group {
        flex-direction: column;
    }
    .difficulty-option {
        width: 80%;
    }
}

/* New UI Styles for Battle Cards */
 .battle-options-container {
     display: flex;
     justify-content: center;
     gap: 5px;
     width: 100%; /* Ensure it takes full width to allow wrapping */
 }
 .battle-card {
     background-color: #f0f0f0;
     border-radius: 15px;
     padding: 20px;
     text-align: center;
     width: 250px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s, box-shadow 0.3s;
     cursor: pointer;
     border: 2px solid transparent;
 }
 .battle-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
 }
 .battle-card.selected {
     border-color: #3e7bba;
     background-color: #e6f0ff;
 }
 .battle-card h3 {
     margin-top: 0;
     color: #3e7bba;
 }
 .battle-card p {
     color: #555;
     font-size: 14px;
 }
 .battle-icon {
     font-size: 48px;
     margin-bottom: 10px;
 }
 .action-button.start-battle-button {
     display: block; /* Ensure it's a block element for margin: auto to work */
     width: 100%;
     max-width: 300px;
     margin: 30px auto 0 auto; /* Center it horizontally, keep top margin */
     padding: 15px 30px;
     background-color: #3e7bba;
     color: white;
     border: none;
     border-radius: 8px;
     cursor: pointer;
     font-size: 18px;
     transition: background-color 0.3s;
 }
 .action-button.start-battle-button:hover {
     background-color: #2a5a8f;
 }
 
 #targetUsernameInput {
     display: block; /* Ensure it's a block element for margin: auto to work */
     width: 100%;
     max-width: 300px; /* Align with button max-width */
     margin: 20px auto 0 auto; /* Center it horizontally, keep top margin */
     box-sizing: border-box; /* Include padding in width calculation */
 }

#battleForm {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    max-width: 600px; /* Constrain form width */
    width: 100%;
    margin: 0 auto; /* Center the form itself within its parent */
    gap: 20px; /* Add vertical spacing between form elements */
    padding-bottom: 20px; /* Add some spacing at the bottom of the form */
}

/* Shiny badge styling */
.shiny-badge {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    z-index: 10 !important;
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    color: #fff !important;
    font-weight: bold !important;
    font-size: 10px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    padding: 4px 6px !important;
    border-radius: 8px !important;
    border: 1px solid #FFD700 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    transform: rotate(-15deg) !important;
    white-space: nowrap !important;
}

/* Toxic badge styling */
.toxic-badge {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    z-index: 10 !important;
    background: linear-gradient(45deg, #32CD32, #ADFF2F) !important;
    color: #000 !important;
    font-weight: bold !important;
    font-size: 10px !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8) !important;
    padding: 4px 6px !important;
    border-radius: 8px !important;
    border: 1px solid #00FF00 !important;
    box-shadow: 0 2px 4px rgba(50,205,50,0.4) !important;
    transform: rotate(-15deg) !important;
    white-space: nowrap !important;
}

/* Additional specific targeting for sidebar shiny badges */
.sidebar .shiny-badge,
.following .shiny-badge,
div.shiny-badge {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    z-index: 10 !important;
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    color: #fff !important;
    font-family: 'Data Control', sans-serif !important;
    font-weight: bold !important;
    font-size: 10px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    padding: 4px 6px !important;
    border-radius: 8px !important;
    border: 1px solid #FFD700 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    transform: rotate(-15deg) !important;
    white-space: nowrap !important;
}

/* Additional specific targeting for sidebar toxic badges */
.sidebar .toxic-badge,
.following .toxic-badge,
div.toxic-badge {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    z-index: 10 !important;
    background: linear-gradient(45deg, #32CD32, #ADFF2F) !important;
    color: #000 !important;
    font-family: 'Data Control', sans-serif !important;
    font-weight: bold !important;
    font-size: 8px !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8) !important;
    padding: 3px 5px !important;
    border-radius: 6px !important;
    border: 1px solid #00FF00 !important;
    box-shadow: 0 2px 4px rgba(50,205,50,0.4) !important;
    transform: rotate(-15deg) !important;
    white-space: nowrap !important;
}

/* Even more specific targeting for areas.php and other pages with body font overrides */
body .shiny-badge,
#page_wrapper .shiny-badge,
#site_content .shiny-badge {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    z-index: 10 !important;
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
    color: #fff !important;
    font-family: 'Data Control', sans-serif !important;
    font-weight: bold !important;
    font-size: 10px !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    padding: 4px 6px !important;
    border-radius: 8px !important;
    border: 1px solid #FFD700 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    transform: rotate(-15deg) !important;
    white-space: nowrap !important;
}

/* Even more specific targeting for toxic badges */
body .toxic-badge,
#page_wrapper .toxic-badge,
#site_content .toxic-badge {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    z-index: 10 !important;
    background: linear-gradient(45deg, #32CD32, #ADFF2F) !important;
    color: #000 !important;
    font-family: 'Data Control', sans-serif !important;
    font-weight: bold !important;
    font-size: 8px !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8) !important;
    padding: 3px 5px !important;
    border-radius: 6px !important;
    border: 1px solid #00FF00 !important;
    box-shadow: 0 2px 4px rgba(50,205,50,0.4) !important;
    transform: rotate(-15deg) !important;
    white-space: nowrap !important;
}

/* Ultra-specific targeting for sidebar toxic badges to override Profile.php */
.sidebar .following .toxic-badge,
.following .toxic-badge,
.sidebar .toxic-badge {
    position: absolute !important;
    top: 5px !important;
    left: 5px !important;
    z-index: 10 !important;
    background: linear-gradient(45deg, #32CD32, #ADFF2F) !important;
    color: #000 !important;
    font-family: 'Data Control', sans-serif !important;
    font-weight: bold !important;
    font-size: 8px !important;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8) !important;
    padding: 3px 5px !important;
    border-radius: 6px !important;
    border: 1px solid #00FF00 !important;
    box-shadow: 0 2px 4px rgba(50,205,50,0.4) !important;
    transform: rotate(-15deg) !important;
    white-space: nowrap !important;
}

