/* ServerName Dark Fantasy Theme - Enhanced Eye Friendly Version */

:root {
  --main-bg-color: #0a0e1a;
  --panel-bg-color: rgba(15, 20, 35, 0.85);
  --panel-border-color: rgba(100, 120, 160, 0.3);
  --header-color: #d4a847;
  --text-color: #c8cdd5;
  --link-color: #d4a847;
  --link-hover-color: #f0c860;
  --btn-color: rgba(25, 35, 55, 0.9);
  --btn-hover-color: rgba(40, 55, 80, 0.95);
  --btn-text-color: #d4a847;
  --separator-color: rgba(100, 120, 160, 0.2);
  --accent-color: #4a7ab8;
  --glow-color: rgba(212, 168, 71, 0.3);
}

body {
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  background-color: var(--main-bg-color);
  background-image: url('../images/backgrounds/beautiful-bg.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  line-height: 1.5;
  font-size: 14px;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(5, 15, 35, 0.92), rgba(3, 10, 20, 0.8));
  z-index: -1;
}

/* Main Container */
.venore-container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 15px;
  position: relative;
}

/* Header Styles */
.venore-header {
  position: relative;
  margin-bottom: 25px;
  border-bottom: none;
  padding-bottom: 20px;
  background: transparent;
  border-radius: 0;
  padding: 30px 20px;
  box-shadow: none;
  backdrop-filter: none;
}

.venore-logo {
  text-align: center;
  margin-bottom: 8px;
}

.venore-logo h1 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--header-color);
  margin: 0;
  text-shadow: 0 0 30px var(--glow-color), 0 0 60px var(--glow-color);
  letter-spacing: 8px;
  text-transform: uppercase;
}

.venore-logo h1::before,
.venore-logo h1::after {
  content: "✦";
  font-size: 1rem;
  vertical-align: middle;
  margin: 0 20px;
  opacity: 0.7;
}

/* Subtitle under logo */
.venore-logo p,
.venore-subtitle {
  color: rgba(200, 205, 213, 0.6);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Navigation */
.venore-nav {
  background: var(--panel-bg-color);
  border: 1px solid var(--panel-border-color);
  border-radius: 50px;
  display: flex;
  justify-content: center;
  padding: 8px 20px;
  margin-bottom: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.venore-nav a {
  color: var(--link-color);
  text-decoration: none;
  padding: 10px 25px;
  margin: 0;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

/* Vertical separator between nav items */
.venore-nav a:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: linear-gradient(to bottom, transparent, rgba(100, 120, 160, 0.4), transparent);
}

.venore-nav a:hover,
.venore-nav a.active {
  color: var(--link-hover-color);
}

.venore-nav a:hover::after,
.venore-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--header-color);
  box-shadow: 0 0 10px var(--glow-color);
}

/* Status Display */
.venore-status {
  position: absolute;
  top: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid var(--panel-border-color);
  border-radius: 5px;
  padding: 8px 15px;
  color: var(--text-color);
}

.venore-status .status-online {
  color: #5cb85c;
  font-weight: bold;
}

.venore-status .status-offline {
  color: #d9534f;
  font-weight: bold;
}

/* Main Layout */
.venore-layout {
  display: flex;
  gap: 20px;
}

/* Sidebar Panels */
.venore-sidebar {
  width: 200px;
  flex-shrink: 0;
}

.venore-panel {
  background: var(--panel-bg-color);
  border: 1px solid var(--panel-border-color);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.venore-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 20px var(--glow-color);
  border-color: rgba(212, 168, 71, 0.4);
}

.venore-panel-header {
  background: linear-gradient(135deg, rgba(20, 30, 50, 0.9), rgba(15, 20, 35, 0.95));
  color: var(--header-color);
  font-family: 'Cinzel', serif;
  padding: 12px 15px;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  border-bottom: 1px solid var(--header-color);
  position: relative;
}

/* Subtle line decorations on sides */
.venore-panel-header::before,
.venore-panel-header::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--header-color));
  opacity: 0.6;
}

.venore-panel-header::before {
  left: 10px;
  background: linear-gradient(90deg, transparent, var(--header-color));
}

.venore-panel-header::after {
  right: 10px;
  background: linear-gradient(90deg, var(--header-color), transparent);
}

.venore-panel-body {
  padding: 10px;
}

/* Menu Lists */
.venore-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.venore-menu-list li {
  border-bottom: 1px solid rgba(100, 120, 160, 0.15);
}

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

.venore-menu-list li a {
  display: block;
  padding: 8px 10px;
  color: rgba(200, 205, 213, 0.8);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.venore-menu-list li a:hover,
.venore-menu-list li a.active {
  color: var(--header-color);
  padding-left: 15px;
  background: rgba(30, 45, 70, 0.4);
}

.venore-menu-list li a::before {
  content: '›';
  margin-right: 8px;
  color: var(--link-color);
}

/* Content Area */
.venore-content {
  flex: 1;
  background: var(--panel-bg-color);
  border: 1px solid var(--panel-border-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  min-height: 400px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.content-header {
  font-family: 'Cinzel', serif;
  color: var(--header-color);
  border-bottom: 1px solid var(--separator-color);
  padding-bottom: 20px;
  margin-top: 0;
  margin-bottom: 25px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.4rem;
  position: relative;
}

.content-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--header-color), transparent);
}

/* Login Form */
.venore-login-form input[type="text"],
.venore-login-form input[type="password"] {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 8px;
  border: 1px solid var(--panel-border-color);
  background-color: rgba(10, 15, 25, 0.8);
  color: var(--text-color);
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 0.85rem;
}

.venore-login-form input::placeholder {
  color: rgba(200, 205, 213, 0.5);
  font-size: 0.8rem;
}

.venore-login-form input:focus {
  outline: none;
  border-color: var(--header-color);
  box-shadow: 0 0 8px var(--glow-color);
}

.venore-login-form .login-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.venore-login-form .lost-link {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--header-color);
  text-decoration: none;
  padding: 8px 15px;
  border: 1px solid var(--header-color);
  border-radius: 4px;
  background: rgba(20, 30, 50, 0.5);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.venore-login-form .lost-link:hover {
  background: var(--header-color);
  color: #0a0e1a;
  box-shadow: 0 0 15px var(--glow-color);
}

/* Buttons */
.venore-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: rgba(20, 30, 50, 0.5);
  color: var(--header-color);
  border: 1px solid var(--header-color);
  border-radius: 4px;
  padding: 8px 15px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  text-decoration: none;
  box-sizing: border-box;
}

.venore-btn:hover {
  background: var(--header-color);
  color: #0a0e1a;
  box-shadow: 0 0 15px var(--glow-color);
}

/* Stats */
.venore-stat-item {
  text-align: center;
  margin-bottom: 15px;
  padding: 10px 5px;
  border-radius: 5px;
  transition: all 0.2s ease;
}

.venore-stat-item:hover {
  background: rgba(29, 50, 70, 0.4);
}

.venore-stat-value {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--header-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.venore-stat-label {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-top: 5px;
}

/* Rankings */
.venore-rankings table {
  width: 100%;
  border-collapse: collapse;
}

.venore-rankings tr {
  border-bottom: 1px solid rgba(82, 75, 54, 0.3);
  transition: all 0.2s ease;
}

.venore-rankings tr:last-child {
  border-bottom: none;
}

.venore-rankings tr:hover {
  background: rgba(29, 50, 70, 0.4);
}

.venore-rankings td {
  padding: 10px 5px;
}

.venore-player-rank {
  display: inline-block;
  width: 25px;
  color: var(--header-color);
  font-weight: bold;
}

.venore-player-name {
  font-weight: 500;
}

.venore-player-name a {
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

.venore-player-name a:hover {
  color: var(--link-hover-color);
}

.venore-player-level {
  color: #888;
  font-size: 0.9rem;
  margin-left: 5px;
}

/* Server Status */
.venore-server-status {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.venore-status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
}

.venore-status-indicator.online {
  background-color: #5cb85c;
  box-shadow: 0 0 10px #5cb85c;
}

.venore-status-indicator.offline {
  background-color: #d9534f;
  box-shadow: 0 0 10px #d9534f;
}

.venore-status-text {
  line-height: 1.3;
}

.venore-status-info {
  font-size: 0.9rem;
  color: #aaa;
}

/* Guild Items */
.venore-guild-item {
  display: flex;
  align-items: center;
  padding: 10px 5px;
  border-bottom: 1px solid rgba(82, 75, 54, 0.3);
  transition: all 0.2s ease;
}

.venore-guild-item:last-child {
  border-bottom: none;
}

.venore-guild-item:hover {
  background: rgba(29, 50, 70, 0.4);
}

.venore-guild-emblem {
  width: 40px;
  height: 40px;
  background-color: var(--panel-border-color);
  border-radius: 50%;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--link-color);
  font-weight: bold;
}

.venore-guild-info {
  flex: 1;
}

.venore-guild-name {
  font-weight: 500;
}

.venore-guild-kills {
  font-size: 0.9rem;
  color: #aaa;
}

/* Footer */
.venore-footer {
  text-align: center;
  padding: 30px 0 20px;
  margin-top: 30px;
  border-top: 1px solid var(--panel-border-color);
  color: #888;
  font-size: 0.9rem;
}

.venore-copyright {
  margin-bottom: 10px;
}

.designer-credit {
  color: var(--header-color);
  font-weight: 500;
  margin-top: 10px;
  font-style: italic;
  /* This CSS makes it harder to modify via inspect element */
  user-select: none;
  pointer-events: none;
  -webkit-user-select: none;
}

/* Responsive */
@media (max-width: 992px) {
  .venore-layout {
    flex-direction: column;
  }

  .venore-sidebar {
    width: 100%;
  }
}

/* Social Icons */
.venore-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.venore-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--btn-color);
  color: var(--btn-text-color);
  transition: all 0.3s ease;
}

.venore-social a:hover {
  background-color: var(--btn-hover-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Logged User */
.venore-logged-user {
  text-align: center;
}

.venore-logged-user p {
  margin-bottom: 15px;
}

.venore-account-buttons {
  display: flex;
  gap: 10px;
}

.venore-account-buttons .venore-btn {
  flex: 1;
  padding: 8px 10px;
  font-size: 12px;
}

/* News Content */
.venore-news {
  position: relative;
}

.venore-news h1,
.venore-news h2,
.venore-news h3 {
  color: var(--header-color);
  font-family: 'Cinzel', serif;
}

.venore-page-content h1,
.venore-page-content h2,
.venore-page-content h3 {
  color: var(--header-color);
  font-family: 'Cinzel', serif;
}

/* Server Name Decoration */
.server-name-decoration {
  display: inline-block;
  position: relative;
}

.server-name-decoration::before,
.server-name-decoration::after {
  content: "";
  position: absolute;
  height: 3px;
  bottom: -5px;
  background: linear-gradient(to right, transparent, var(--header-color), transparent);
}

.server-name-decoration::before {
  left: 0;
  right: 55%;
}

.server-name-decoration::after {
  right: 0;
  left: 55%;
}

/* Server Status Styles */
.status-online {
  color: #4CAF50;
  font-weight: bold;
}

.status-offline {
  color: #F44336;
  font-weight: bold;
}

.status-checking {
  color: #FFC107;
  font-weight: bold;
}

.venore-status {
  margin-top: 10px;
  text-align: right;
}

.server-status {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 4px;
}

#PlayersOnline {
  margin-top: 10px;
  text-align: center;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 16px;
  position: absolute;
  top: 20px;
  right: 20px;
}

#players {
  font-size: 18px;
  font-weight: bold;
  color: #4CAF50;
}

/* Status Bar Styles */
.status-bar {
  position: absolute;
  top: 20px;
  right: 20px;
}

.status-bar .container {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 15px;
  border-radius: 4px;
}

.status-bar .item a {
  color: white;
  text-decoration: none;
  font-size: 16px;
}

.label {
  display: inline-block;
  padding: 3px 6px;
  margin-left: 5px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  text-transform: uppercase;
}

.label-success {
  background-color: #4CAF50;
  color: white;
}

.label-danger {
  background-color: #F44336;
  color: white;
}

.label-sm {
  padding: 2px 4px;
  font-size: 10px;
}

/* Override ALL MyAAC Default Table Styles - DARK NAVY BLUE */
table,
table * {
  border-collapse: collapse !important;
}

/* Force ALL table cells to use our theme - SEMI-TRANSPARENT */
table td,
table th,
td,
th,
table tbody td,
table tbody th,
table tr td,
table tr th {
  padding: 10px 12px !important;
  border: 1px solid rgba(100, 120, 160, 0.2) !important;
  background-color: rgba(15, 20, 35, 0.6) !important;
  color: var(--text-color) !important;
}

/* First row = header with gradient */
table tr:first-child td,
table tr:first-child th,
table thead td,
table thead th,
.TableHeadline,
td.LabelV,
th.LabelV,
td b,
th b {
  background: rgba(20, 30, 50, 0.8) !important;
  color: var(--header-color) !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 0.85rem !important;
}

/* Alternating row colors - very subtle */
table tr:nth-child(even) td,
table tbody tr:nth-child(even) td {
  background-color: rgba(10, 15, 28, 0.6) !important;
}

table tr:nth-child(odd) td,
table tbody tr:nth-child(odd) td {
  background-color: rgba(15, 22, 38, 0.6) !important;
}

/* Hover effect */
table tr:hover td {
  background-color: rgba(30, 45, 70, 0.7) !important;
}

/* Override ANY inline bgcolor attributes */
*[bgcolor] {
  background-color: rgba(15, 20, 35, 0.6) !important;
}

tr[bgcolor] td,
td[bgcolor] {
  background-color: rgba(15, 20, 35, 0.6) !important;
  color: var(--text-color) !important;
  border-color: rgba(100, 120, 160, 0.2) !important;
}

/* ================================================
   MODERN FORM STYLES
   ================================================ */

/* Intro text */
.account-create-intro {
  color: rgba(200, 205, 213, 0.85);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(15, 20, 35, 0.5);
  border-radius: 8px;
  border-left: 3px solid var(--header-color);
}

/* Form sections */
.form-section {
  background: rgba(15, 20, 35, 0.6);
  border: 1px solid rgba(100, 120, 160, 0.3);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}

.form-section-header {
  background: linear-gradient(135deg, rgba(20, 30, 50, 0.9), rgba(15, 20, 35, 0.95));
  color: var(--header-color);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--header-color);
}

/* Form rows */
.form-row {
  display: flex;
  align-items: flex-start;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(100, 120, 160, 0.15);
}

.form-row:last-child {
  border-bottom: none;
}

.form-label {
  width: 150px;
  flex-shrink: 0;
  color: var(--header-color);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-top: 8px;
}

.form-label .error-label {
  color: #ff6b6b;
}

.form-input {
  flex: 1;
}

.form-input input[type="text"],
.form-input input[type="password"],
.form-input input[type="email"],
.form-input select {
  width: 100%;
  max-width: 300px;
  background: rgba(10, 15, 25, 0.8);
  border: 1px solid rgba(100, 120, 160, 0.3);
  color: var(--text-color);
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.form-input input:focus,
.form-input select:focus {
  border-color: var(--header-color);
  box-shadow: 0 0 10px var(--glow-color);
  outline: none;
}

.form-error {
  display: block;
  color: #ff6b6b;
  font-size: 0.75rem;
  margin-top: 5px;
}

.form-hint {
  display: block;
  color: rgba(200, 205, 213, 0.6);
  font-size: 0.75rem;
  margin-top: 5px;
  font-style: italic;
}

/* Radio and checkbox groups */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.radio-option,
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.radio-option input,
.checkbox-option input {
  accent-color: var(--header-color);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-row {
  padding: 15px 20px;
}

.checkbox-option a {
  color: var(--header-color);
  text-decoration: underline;
}

/* Submit button */
.form-submit {
  text-align: center;
  margin-top: 25px;
}

.submit-btn {
  background: rgba(20, 30, 50, 0.5);
  color: var(--header-color);
  border: 1px solid var(--header-color);
  border-radius: 4px;
  padding: 12px 40px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: var(--header-color);
  color: #0a0e1a;
  box-shadow: 0 0 20px var(--glow-color);
}

/* Country flag */
.country-flag {
  margin-left: 10px;
  vertical-align: middle;
}

/* ================================================
   CHARACTER SEARCH UI
   ================================================ */

.character-search-intro {
  margin: 30px 0 40px 0;
  padding-left: 20px;
  border-left: 4px solid var(--header-color);
  color: rgba(200, 205, 213, 0.8);
  font-size: 1.1rem;
  line-height: 1.5;
}

.search-panel {
  background: transparent;
  border: 1px solid rgba(100, 120, 160, 0.2);
  border-radius: 8px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(100, 120, 160, 0.2);
  color: var(--header-color);
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.search-panel-header i {
  margin-right: 10px;
}

.search-panel-header .dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: rgba(100, 120, 160, 0.4);
  border-radius: 50%;
  margin-left: 4px;
}

.search-panel-body {
  padding: 40px;
  background: rgba(10, 15, 25, 0.4);
  border-radius: 0 0 8px 8px;
}

.search-form-group label {
  display: block;
  color: rgba(200, 205, 213, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper input {
  width: 100%;
  max-width: 400px;
  background: rgba(15, 20, 35, 0.8);
  border: 1px solid rgba(100, 120, 160, 0.3);
  padding: 12px 15px;
  border-radius: 6px;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
  border-color: var(--header-color);
  box-shadow: 0 0 15px var(--glow-color);
  outline: none;
}

.search-input-wrapper i {
  position: absolute;
  right: 15px;
  /* Adjust based on max-width if needed */
  left: 370px;
  /* Approximate position inside input */
  color: rgba(200, 205, 213, 0.3);
  pointer-events: none;
}

form[action*="characters"] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
}

.search-submit button {
  background: transparent;
  border: 1px solid var(--header-color);
  color: var(--header-color);
  padding: 12px 30px;
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  /* Match input height roughly */
}

.search-submit button:hover {
  background: var(--header-color);
  color: #0a0e1a;
  box-shadow: 0 0 20px var(--glow-color);
}

/* Background decoration */
.search-background-icon {
  text-align: center;
  opacity: 0.05;
  margin-top: -100px;
  user-select: none;
  pointer-events: none;
}

.search-background-icon i {
  font-size: 8rem;
  margin-bottom: 20px;
}

.search-bg-text {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 15px;
  line-height: 1.2;
  margin-bottom: 2rem;
  position: relative;
  letter-spacing: 2px;
}


/* ACCOUNT LOGIN STYLES */
.account-login-header {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: #f0c040;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  letter-spacing: 2px;
}

.account-login-header .header-decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.account-login-header .header-decoration span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0c040, transparent);
  width: 60px;
}

.account-login-header .header-decoration span:nth-child(2) {
  width: 120px;
  height: 2px;
}

.account-login-intro {
  text-align: center;
  color: #a0a0b0;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.golden-link {
  color: #f0c040;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.golden-link:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(240, 192, 64, 0.5);
}

.auth-box {
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(240, 192, 64, 0.3);
  border-radius: 4px;
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Corner Accents for Auth Box */
.auth-box::before,
.auth-box::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border: 1px solid #f0c040;
  transition: all 0.3s;
}

.auth-box::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.auth-box::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.auth-box-header {
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  color: #8899aa;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  margin-bottom: 2rem;
  padding-left: 10px;
  border-left: 2px solid #f0c040;
}

.auth-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.auth-form-group label {
  font-family: 'Roboto', sans-serif;
  color: #f0c040;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-form-group input {
  background: rgba(10, 14, 20, 0.8);
  border: 1px solid rgba(80, 90, 110, 0.5);
  padding: 12px 15px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s;
}

.auth-form-group input:focus {
  border-color: #f0c040;
  box-shadow: 0 0 10px rgba(240, 192, 64, 0.1);
  background: rgba(15, 20, 30, 0.9);
}

.auth-form-options {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Custom Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 0.8rem;
  color: #a0a0b0;
  font-weight: bold;
  text-transform: uppercase;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
  background-color: rgba(10, 14, 20, 0.8);
  border: 1px solid #556677;
  border-radius: 2px;
  transition: all 0.2s;
}

.checkbox-container:hover input~.checkmark {
  border-color: #f0c040;
}

.checkbox-container input:checked~.checkmark {
  background-color: #f0c040;
  border-color: #f0c040;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid #111;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.auth-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.auth-btn-submit {
  flex: 1;
  padding: 12px;
  background: rgba(240, 192, 64, 0.1);
  border: 1px solid #f0c040;
  color: #f0c040;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 1px;
}

.auth-btn-submit:hover {
  background: #f0c040;
  color: #111;
  box-shadow: 0 0 15px rgba(240, 192, 64, 0.4);
}

.auth-btn-lost {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: 1px solid #556677;
  color: #a0a0b0;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  text-align: center;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Success Message Internals */
.success-description {
  color: #f0c040;
}

.success-description b {
  color: #fff;
}

.success-description ul {
  list-style: none;
  /* User might prefer bullets, but screenshot looks clean. Let's keep bullets but localized? Or custom? Screenshot has bullets. */
  list-style-position: inside;
  padding: 0;
  margin-top: 10px;
  text-align: left;
  /* Instructions usually read better left aligned, but container is centered. Let's see. User screenshot has implied left or center. Text is long. Let's center block but text left? No, screenshot text is centered. */
  display: inline-block;
  /* To allow text-align left inside a centered container? */
  text-align: left;
}

.success-description li {
  margin-bottom: 5px;
  color: #ccc;
}

.success-description li::before {
  content: "•";
  color: #f0c040;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}


/* RULES PAGE STYLES */
.rules-box {
  padding: 3rem 2rem;
}

.rules-section {
  margin-bottom: 2rem;
}

.rules-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(240, 192, 64, 0.2);
  padding-bottom: 0.5rem;
}

.rule-icon {
  color: #f0c040;
  font-size: 1.2rem;
}

.rules-header h3 {
  color: #f0c040;
  margin: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
}

.rules-content ul {
  list-style: none;
  padding-left: 1.5rem;
  margin: 0;
}

.rules-content li {
  position: relative;
  margin-bottom: 0.8rem;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.rules-content li::before {
  content: "•";
  color: #f0c040;
  position: absolute;
  left: -1.2rem;
  font-weight: bold;
}

.rule-title {
  color: #fff;
  font-weight: bold;
}

/* Important Notice Box */
.rules-notice {
  margin-top: 3rem;
  background: rgba(40, 0, 0, 0.3);
  border: 1px solid rgba(220, 53, 69, 0.4);
  border-radius: 4px;
  padding: 1.5rem;
  position: relative;
}

.rules-notice::before,
.rules-notice::after {
  /* Corner decorations similar to image */
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(220, 53, 69, 0.6);
  transition: all 0.3s ease;
}

.rules-notice::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.rules-notice::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}


.notice-header {
  color: #e74c3c;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.notice-body p {
  color: #ddd;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.notice-body p.notice-sub {
  font-style: italic;
  color: #999;
  font-size: 0.8rem;
  margin-bottom: 0;
}

.notice-body strong {
  color: #fff;
}



/* ACCOUNT DASHBOARD STYLES */
.account-dashboard {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
}

.dashboard-header-title {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  color: #f0c040;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(240, 192, 64, 0.3);
}

.dashboard-header-title .header-decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.dashboard-header-title .header-decoration span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0c040, transparent);
  width: 80px;
}

.dashboard-header-title .header-decoration span:nth-child(2) {
  width: 150px;
  height: 2px;
}


/* CHARACTER SEARCH STYLES */
.character-search-intro {
  padding-left: 15px;
  border-left: 2px solid #f0c040;
  margin-bottom: 3rem;
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 600px;
}

.search-panel {
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(60, 70, 90, 0.4);
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  position: relative;
  max-width: 500px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.search-panel-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f0c040;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 1.1rem;
}

.search-panel-header i {
  margin-right: 12px;
}

.search-panel-header .dots {
  display: flex;
  gap: 4px;
}

.search-panel-header .dots span {
  display: block;
  width: 6px;
  height: 6px;
  background: #445;
  border-radius: 50%;
}

.search-panel-body {
  padding: 30px;
}

.search-form-group {
  margin-bottom: 25px;
}

.search-form-group label {
  display: block;
  color: #8899aa;
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper input {
  width: 100%;
  background: rgba(10, 14, 20, 0.5);
  border: 1px solid #3a4b69;
  padding: 15px 15px;
  padding-right: 45px;
  color: #fff;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
}

.search-input-wrapper input:focus {
  border-color: #f0c040;
  box-shadow: 0 0 15px rgba(240, 192, 64, 0.1);
  background: rgba(15, 20, 30, 0.8);
}

.search-input-wrapper i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #556677;
}

.search-submit button {
  background: transparent;
  border: 1px solid #f0c040;
  color: #f0c040;
  padding: 12px 35px;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.search-submit button:hover {
  background: #f0c040;
  color: #111;
  box-shadow: 0 0 20px rgba(240, 192, 64, 0.3);
}

.search-background-icon {
  margin-top: 80px;
  text-align: center;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.search-background-icon i {
  font-size: 6rem;
  margin-bottom: 15px;
  display: block;
}

.search-bg-text {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 15px;
  text-align: center;
  text-transform: uppercase;
}


/* CHARACTER PROFILE REDESIGN */

/* Header Title */
.profile-header-title {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  color: #f0c040;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px rgba(240, 192, 64, 0.3);
  position: relative;
  padding-bottom: 15px;
}

.profile-header-title .line-decoration {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.profile-header-title .line-decoration span {
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, transparent, #f0c040, transparent);
}

/* Main Profile Card */
.profile-main-card {
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(80, 90, 110, 0.3);
  border-radius: 6px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Center vertically */
  gap: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  min-height: 300px;
}

.profile-info-section {
  flex: 1;
}

.character-name-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.character-name {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  word-break: break-word;
  max-width: 100%;
}

.status-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: bold;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-badge.online {
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-badge.offline {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  /* Increased from 12px */
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  /* Increased from 15px */
  font-size: 0.95rem;
}

.info-label {
  min-width: 130px;
  /* Increased width to prevent crowding */
  color: #f0c040;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.info-label i {
  width: 16px;
  text-align: center;
  color: #ffd700;
  /* Brighter gold icon */
}

.info-value {
  color: #e2e8f0;
  /* Brighter text */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  /* Slight shadow for contrast */
}

.info-value a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: inherit;
  /* Inherit size from parent */
  transition: color 0.2s;
}

.info-value a:hover {
  color: #f0c040;
  text-decoration: underline;
}

.premium-text {
  color: #4ade80;
  /* Brighter green */
  font-weight: bold;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.3);
}

/* WHO IS ONLINE REDESIGN */

/* Legend Panel */
.online-legend-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
}

.online-note {
  font-size: 0.75rem;
  color: #f0c040;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Vocation Stats */
.vocation-stats {
  flex-direction: row;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
}

.vocation-card {
  background: rgba(16, 20, 30, 0.8);
  /* Dark background */
  border: 1px solid #445;
  border-radius: 8px;
  /* Slightly rounded */
  width: 140px;
  /* Reduced width */
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, border-color 0.3s;
}

.vocation-card:hover {
  transform: translateY(-5px);
  border-color: #f0c040;
}

.voc-image {
  width: 100%;
  height: 180px;
  /* Taller image area */
  overflow: hidden;
  background: #000;
}

.voc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cover the area */
  transition: transform 0.5s;
}


/* Fix for global table tr:first-child rule affecting the first player */
.online-table tbody tr:first-child td {
  background: transparent !important;
  color: #aaa !important;
  /* Default text color */
  font-weight: normal !important;
  text-transform: none !important;
}

.online-table tbody tr:first-child td.highlight-white {
  color: #fff !important;
  font-weight: bold !important;
}

.online-table tbody tr:first-child td.highlight-uppercase {
  text-transform: uppercase !important;
  font-weight: bold !important;
}

.online-table tbody tr:first-child td a.player-link {
  color: #f0c040 !important;
  /* Keep link gold */
  font-weight: bold !important;
}


.voc-info {
  padding: 10px;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(16, 20, 30, 0.9));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.voc-count {
  display: block;
  font-size: 1.5rem;
  color: #f0c040;
  font-weight: bold;
  font-family: 'Cinzel', serif;
  text-shadow: 0 0 10px rgba(240, 192, 64, 0.3);
}

.voc-name {
  display: block;
  font-size: 0.7rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 20px;
}

.pagination-btn {
  background: rgba(16, 20, 30, 0.8);
  border: 1px solid #445;
  color: #f0c040;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
}

.pagination-btn:hover {
  background: #f0c040;
  color: #111;
  border-color: #f0c040;
}

.pagination-info {
  color: #aaa;
  font-size: 0.8rem;
  font-weight: bold;
}


/* World Info Box */
.skull-legend {
  display: flex;
  gap: 40px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #aaa;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.skull-icon {
  width: 16px;
  height: 16px;
  /* Placeholder for icon */
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
}

.skull-icon::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 2px;
}

.white-skull::before {
  background: #fff;
  box-shadow: 0 0 5px #fff;
}

.red-skull::before {
  background: #e74c3c;
  box-shadow: 0 0 5px #e74c3c;
}

.black-skull::before {
  background: #000;
  border: 1px solid #444;
}

.legend-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.highlight-red {
  color: #e74c3c;
}

.highlight-black {
  color: #fff;
}

.sub-text {
  font-size: 0.65rem;
  color: #666;
}


/* World Info Box */
.world-info-header,
.players-online-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-left: 3px solid #f0c040;
  padding-left: 15px;
}

.header-bar span {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: #f0c040;
  font-weight: bold;
}

.world-info-box {
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(80, 90, 110, 0.3);
  border-radius: 4px;
  padding: 0;
  margin-bottom: 40px;
}

.info-row {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 25px;
  align-items: center;
}

.info-row.last {
  border-bottom: none;
}

.info-row .info-label {
  width: 200px;
  color: #f0c040;
  font-weight: bold;
  font-size: 0.8rem;
}

.info-row .info-value {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 500;
}

.server-status-btn {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
  padding: 5px 15px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
}

.highlight-gold {
  color: #f0c040 !important;
  font-weight: bold;
  font-size: 1.1rem;
}

.server-date {
  font-size: 0.7rem;
  color: #667;
}


/* Players Table */
.mini-search {
  position: relative;
}

.mini-search input {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #445;
  padding: 8px 15px;
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  width: 200px;
  outline: none;
  transition: all 0.3s;
}

.mini-search input:focus {
  border-color: #f0c040;
  width: 250px;
}

.mini-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #667;
  cursor: pointer;
}

.players-table-wrapper {
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(80, 90, 110, 0.3);
  border-radius: 4px;
  overflow: hidden;
  padding: 10px;
}

.online-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 5px;
  /* Spacing between rows */
}

.online-table th {
  text-align: left;
  padding: 15px;
  color: #f0c040;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: bold;
}

.online-table th a {
  color: #f0c040;
  text-decoration: none;
}

.online-table tbody tr {
  background: rgba(30, 35, 45, 0.5);
  /* Dark row bg */
  transition: transform 0.2s, background 0.2s;
}

.online-table tbody tr:hover {
  background: rgba(40, 45, 60, 0.8);
  transform: translateX(5px);
}

.online-table td {
  padding: 10px 15px;
  color: #aaa;
  font-size: 0.9rem;
  vertical-align: middle;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.online-table td:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.02);
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  color: #667;
  font-family: monospace;
}

.online-table td:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.table-outfit {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #445;
}

.table-outfit img {
  margin-top: -30px;
  margin-left: -30px;
}

.player-link {
  color: #f0c040;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.player-link:hover {
  color: #fff;
}

.highlight-white {
  color: #fff;
  font-weight: bold;
}

.highlight-uppercase {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* Modern Tables (Deaths / Account Chars) */
.modern-table {
  width: 100%;
  border-collapse: collapse;
}

.modern-table th {
  text-align: left;
  padding: 12px 20px;
  color: #8899aa;
  text-transform: uppercase;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-table td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #ccc;
  font-size: 0.9rem;
}

.modern-table tr:last-child td {
  border-bottom: none;
}

.mini-btn {
  background: transparent;
  border: 1px solid #556677;
  color: #ccc;
  padding: 4px 10px;
  font-size: 0.7rem;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.2s;
}

.mini-btn:hover {
  border-color: #f0c040;
  color: #f0c040;
}

/* Outfit Section */
.profile-outfit-section {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.outfit-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 70, 90, 0.4) 0%, rgba(16, 20, 30, 0) 70%);
  border: 2px solid rgba(240, 192, 64, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.outfit-image {
  position: relative;
  z-index: 2;
  transform: scale(1.5);
  /* Adjust based on outfit size */
}

/* Details Grid */
.profile-details-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  /* Skills | Equipment */
  gap: 30px;
}

.profile-panel {
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(80, 90, 110, 0.3);
  border-radius: 4px;
  overflow: hidden;
}

.panel-header {
  background: rgba(10, 14, 20, 0.8);
  padding: 12px 20px;
  border-bottom: 2px solid #f0c040;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f0c040;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.panel-icon {
  opacity: 0.3;
}

/* Skills List */
.skills-list {
  padding: 20px;
}

.skill-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.skill-name {
  width: 120px;
  color: #a0a0b0;
}

.skill-bar-container {
  flex: 1;
  height: 6px;
  background: #252a35;
  border-radius: 3px;
  margin: 0 15px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f0c040, #d4a017);
  border-radius: 3px;
  box-shadow: 0 0 5px rgba(240, 192, 64, 0.5);
}

.skill-value {
  width: 30px;
  text-align: right;
  color: #fff;
  font-weight: bold;
}

/* Equipment Grid */
.equipment-grid-wrapper {
  padding: 30px;
  display: flex;
  justify-content: center;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 40px);
  /* 3 columns of 40px */
  grid-template-rows: repeat(4, 40px);
  gap: 10px;
  position: relative;
}

.eq-slot {
  width: 40px;
  height: 40px;
  background: rgba(30, 35, 45, 0.8);
  border: 1px solid #445;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
  transition: all 0.2s;
}

.eq-slot:hover {
  border-color: #f0c040;
  box-shadow: 0 0 5px rgba(240, 192, 64, 0.3);
}

.eq-slot img {
  max-width: 100%;
  max-height: 100%;
}

/* Grid Positioning for Tibia Layout */
.slot-amulet {
  grid-column: 1;
  grid-row: 1;
}

.slot-helmet {
  grid-column: 2;
  grid-row: 1;
}

.slot-backpack {
  grid-column: 3;
  grid-row: 1;
}

.slot-hand-left {
  grid-column: 1;
  grid-row: 2;
}

.slot-armor {
  grid-column: 2;
  grid-row: 2;
}

.slot-hand-right {
  grid-column: 3;
  grid-row: 2;
}

.slot-ring {
  grid-column: 1;
  grid-row: 3;
}

.slot-legs {
  grid-column: 2;
  grid-row: 3;
}

.slot-ammo {
  grid-column: 3;
  grid-row: 3;
}

.slot-boots {
  grid-column: 2;
  grid-row: 4;
}

/* Signature Panel */
.signature-panel {
  margin-top: 30px;
}

.signature-content {
  padding: 20px;
  display: flex;
  justify-content: center;
}

/* Admin Edit */
.admin-btn {
  display: inline-block;
  margin-top: 20px;
  color: #667;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.admin-btn:hover {
  color: #f0c040;
}

/* Welcome Box */
.welcome-box {
  background: rgba(16, 20, 30, 0.8);
  border: 1px solid rgba(240, 192, 64, 0.3);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.welcome-title {
  font-size: 1.2rem;
  color: #a0a0b0;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.welcome-title .highlight-text {
  color: #fff;
  font-weight: bold;
  font-size: 1.4rem;
}

.account-status-row {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #a0a0b0;
  text-transform: uppercase;
  font-weight: bold;
}

.status-pill {
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
}

.status-pill.premium {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid #28a745;
}

.status-pill.free {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid #ffc107;
}

.premium-expiry {
  font-size: 0.9rem;
  color: #f0c040;
}

.expiry-days {
  font-weight: bold;
  color: #fff;
}

/* Sections */
.dashboard-section {
  margin-bottom: 2rem;
}

.section-title {
  color: #f0c040;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(240, 192, 64, 0.2);
  padding-bottom: 5px;
}

.section-title i {
  font-size: 0.9rem;
}

.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(240, 192, 64, 0.2);
  margin-bottom: 1rem;
  padding-bottom: 5px;
}

.section-header-split .section-title {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.section-subtitle {
  font-size: 0.8rem;
  color: #8899aa;
  text-transform: uppercase;
}

/* Dashboard Panel */
.dashboard-panel {
  background: rgba(10, 14, 20, 0.6);
  border: 1px solid #334455;
  border-radius: 4px;
  padding: 1.5rem;
}

.dashboard-panel.no-padding {
  padding: 0;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: #8899aa;
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: bold;
  width: 30%;
}

.info-value {
  color: #fff;
  font-size: 0.95rem;
  flex: 1;
}

.info-value.highlight-gold {
  color: #f0c040;
  font-weight: bold;
}

.dimmed {
  color: #556677;
  font-style: italic;
}

.info-action {
  margin-left: 10px;
}

/* Buttons */
.action-btn-small {
  background: transparent;
  border: 1px solid #f0c040;
  color: #f0c040;
  padding: 4px 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.action-btn-small:hover {
  background: #f0c040;
  color: #000;
}

.action-btn-small.btn-danger {
  border-color: #dc3545;
  color: #dc3545;
}

.action-btn-small.btn-danger:hover {
  background: #dc3545;
  color: #fff;
}

.panel-footer-links {
  margin-top: 15px;
  text-align: right;
  font-size: 0.8rem;
}

.panel-footer-links a {
  color: #f0c040;
  text-decoration: none;
  border-bottom: 1px dashed #f0c040;
}

.full-width-btn {
  width: 100%;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #556677;
  color: #a0a0b0;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 1rem;
}

.full-width-btn:hover {
  border-color: #f0c040;
  color: #f0c040;
}

/* Tables */
.logs-table,
.chars-table {
  width: 100%;
  border-collapse: collapse;
}

.logs-table th,
.chars-table th {
  background: rgba(0, 0, 0, 0.3);
  color: #8899aa;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 10px 15px;
  text-align: left;
  font-weight: bold;
}

.logs-table td,
.chars-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  color: #ccc;
}

.logs-table tr:last-child td,
.chars-table tr:last-child td {
  border-bottom: none;
}

.log-action {
  color: #fff;
  font-weight: bold;
}

.log-action.highlight-log {
  color: #f0c040;
}

.log-date,
.log-ip {
  color: #8899aa;
  font-size: 0.8rem;
}

/* Character Table Specifics */
.char-name a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s;
}

.char-name a:hover {
  color: #f0c040;
}

.char-lvl,
.char-voc,
.char-town {
  color: #ddd;
}

.char-login {
  color: #aaa;
  font-size: 0.8rem;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}

.status-dot.online {
  background-color: #28a745;
  box-shadow: 0 0 5px #28a745;
}

.status-dot.offline {
  background-color: #dc3545;
}

.edit-btn-icon {
  color: #f0c040;
  margin-left: 10px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.edit-btn-icon:hover {
  opacity: 1;
}

/* Character Actions */
.character-actions {
  display: flex;
  gap: 15px;
  margin-top: 1rem;
}

.create-char-btn,
.delete-char-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.create-char-btn {
  background: linear-gradient(180deg, #f0c040, #d4a010);
  color: #111;
  border: 1px solid #f0c040;
  box-shadow: 0 2px 10px rgba(240, 192, 64, 0.2);
}

.create-char-btn:hover {
  background: linear-gradient(180deg, #ffd700, #f0c040);
  box-shadow: 0 0 15px rgba(240, 192, 64, 0.4);
}

.delete-char-btn {
  background: transparent;
  border: 1px solid #dc3545;
  color: #dc3545;
}

.delete-char-btn:hover {
  background: rgba(220, 53, 69, 0.1);
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.2);
}

.hidden-icon {
  color: #8899aa;
  font-size: 0.8rem;
  margin-left: 5px;
}

.status-danger {
  color: #dc3545;
  font-weight: bold;
  font-size: 0.8rem;
}

.status-success {
  color: #28a745;
  font-weight: bold;
  font-size: 0.8rem;
}

/* Vocation Stats Adjustment */
.voc-name {
  margin-bottom: 5px;
  margin-top: 0;
}

.voc-count {
  margin-top: 5px;
}

/* HIGHSCORES REDESIGN */
.highscores-page {
  padding: 20px 0;
}

/* Filters */
.highscores-filters {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.filter-box {
  flex: 1;
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 4px;
}

.filter-label {
  color: #f0c040;
  font-size: 0.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.custom-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #445;
  color: #fff;
  padding: 8px;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}

.custom-select option {
  background: #111;
  color: #fff;
}

/* Quick Select & Info */
.hs-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: rgba(16, 20, 30, 0.4);
  padding: 10px 15px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-select {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quick-select span {
  color: #666;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
}

.qs-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #aaa;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.7rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.qs-btn:hover,
.qs-btn.active {
  background: rgba(240, 192, 64, 0.1);
  color: #f0c040;
  border-color: rgba(240, 192, 64, 0.3);
}

.last-updated {
  font-size: 0.7rem;
  color: #666;
  text-transform: uppercase;
}

/* Ranking Table Headers */
.ranking-header-bar {
  display: flex;
  background: rgba(20, 30, 40, 0.9);
  padding: 10px 15px;
  border-bottom: 2px solid rgba(240, 192, 64, 0.3);
  color: #aaa;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rh-col,
.hs-col {
  display: flex;
  align-items: center;
}

.rh-col.rank,
.hs-col.rank {
  width: 10%;
  justify-content: center;
}

.rh-col.outfit,
.hs-col.outfit {
  width: 10%;
  justify-content: center;
}

.rh-col.name,
.hs-col.name {
  width: 40%;
  padding-left: 15px;
  /* Added spacing from outfit */
}

/* Flex grow */
.rh-col.level,
.hs-col.level {
  width: 15%;
  justify-content: center;
}

.rh-col.points,
.hs-col.points {
  width: 25%;
  justify-content: flex-end;
  padding-right: 10px;
}

/* Table Rows */
.hs-table-wrapper {
  display: flex;
  flex-direction: column;
}

.hs-row {
  display: flex;
  padding: 10px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.2s;
  align-items: center;
  background: rgba(10, 12, 18, 0.4);
}

.hs-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* Rank Badge */
.rank-badge {
  width: 30px;
  height: 30px;
  background: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  color: #666;
  border: 1px solid #333;
}

.top-rank .rank-badge {
  background: rgba(240, 192, 64, 0.1);
  color: #f0c040;
  border-color: #f0c040;
  box-shadow: 0 0 10px rgba(240, 192, 64, 0.2);
}

.top-rank.rank-1 .rank-badge {
  color: #ffd700;
  border-color: #ffd700;
}

.top-rank.rank-2 .rank-badge {
  color: #c0c0c0;
  border-color: #c0c0c0;
}

.top-rank.rank-3 .rank-badge {
  color: #cd7f32;
  border-color: #cd7f32;
}

/* Name & Level */
.player-name {
  color: #f0c040;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  display: block;
}

.player-voc {
  font-size: 0.7rem;
  color: #aaa;
  text-transform: uppercase;
}

.hs-col.level {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
}

.hs-col.points {
  color: #aaa;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}


/* GUILDS REDESIGN */
.guilds-page {
  padding: 20px 0;
}

.section-title-bar {
  border-left: 3px solid #f0c040;
  padding-left: 10px;
  margin-bottom: 20px;
}

.section-title-bar span {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Grid */
.guilds-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.guild-card {
  background: rgba(14, 18, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s;
}

.guild-card:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(240, 192, 64, 0.3);
  transform: translateX(5px);
}

.guild-logo-wrapper {
  width: 64px;
  height: 64px;
  border: 1px solid #333;
  margin-right: 20px;
  background: #000;
  flex-shrink: 0;
}

.guild-logo-wrapper img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.guild-info {
  flex: 1;
}

.guild-name {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: #f0c040;
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.guild-desc {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 10px;
  font-style: italic;
}

.guild-stats {
  font-size: 0.7rem;
  color: #666;
  text-transform: uppercase;
  font-weight: bold;
}

.guild-stats span {
  margin-right: 15px;
}

.guild-stats i {
  color: #f0c040;
  margin-right: 5px;
}

.guild-actions {
  margin-left: 20px;
}

.btn-view-guild {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #f0c040;
  color: #f0c040;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-view-guild:hover {
  background: #f0c040;
  color: #111;
}

/* Found Guild Section */
.found-guild-section {
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.found-guild-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(240, 192, 64, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.fg-title {
  font-family: 'Cinzel', serif;
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fg-desc {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.btn-found-guild {
  background: linear-gradient(135deg, #e6b800, #c49a00);
  border: none;
  padding: 12px 30px;
  color: #000;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(240, 192, 64, 0.3);
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-found-guild:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 192, 64, 0.4);
}

/* Help Section */
.guild-help-section {
  margin-top: 30px;
}

.help-header {
  color: #666;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-box {
  display: flex;
  background: rgba(10, 12, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px;
  align-items: center;
  margin-bottom: 10px;
  border-radius: 4px;
}

.hb-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin-right: 15px;
  color: #f0c040;
  font-size: 1.2rem;
}

.hb-text {
  font-size: 0.85rem;
  color: #aaa;
}

.hb-text strong {
  color: #f0c040;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.hb-text a {
  color: #fff;
  text-decoration: underline;
}

/* HOUSES REDESIGN */
.houses-page {
  padding: 20px 0;
}

.houses-description {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 30px;
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 4px;
  border-left: 3px solid #f0c040;
}

.highlight-gold {
  color: #f0c040;
  font-weight: bold;
  text-transform: uppercase;
}

/* Search Criteria Box */
.search-criteria-box {
  background: rgba(14, 18, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.sc-header {
  font-family: 'Cinzel', serif;
  color: #f0c040;
  /* Gold */
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sc-header i {
  margin-right: 10px;
}

.sc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.sc-column {
  flex: 1;
  min-width: 150px;
}

.sc-col-title {
  font-size: 0.75rem;
  color: #666;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.sc-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Custom Radio */
.custom-radio {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 0.8rem;
  color: #ccc;
  text-transform: uppercase;
  user-select: none;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid #444;
  border-radius: 50%;
  transition: all 0.2s;
}

.custom-radio:hover input~.checkmark {
  border-color: #f0c040;
}

.custom-radio input:checked~.checkmark {
  background-color: #f0c040;
  border-color: #f0c040;
  box-shadow: 0 0 8px rgba(240, 192, 64, 0.4);
}

.custom-radio input:checked~.checkmark:after {
  display: block;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
}

.sc-action {
  margin-top: 30px;
  text-align: center;
}

.btn-find-house {
  width: 100%;
  background: linear-gradient(to bottom, #f0c040, #c49a00);
  border: 1px solid #c49a00;
  color: #111;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.2s;
}

.btn-find-house:hover {
  background: linear-gradient(to bottom, #ffd700, #e6b800);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(240, 192, 64, 0.3);
}

.houses-results {
  margin-top: 40px;
}

.hr-header {
  font-family: 'Cinzel', serif;
  text-align: center;
  color: #f0c040;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* LAST KILLS REDESIGN */
.last-kills-page {
  padding: 20px 0;
}

.lk-victim a {
  color: #c0392b !important;
  /* Red for victim */
  font-weight: bold;
  text-decoration: none;
}

.lk-victim a:hover {
  text-decoration: underline;
  color: #e74c3c !important;
}

.lk-text {
  color: #fff;
  /* White text as requested */
}

.lk-level {
  color: #f0c040;
  font-weight: bold;
}

.lk-killer,
.lk-killer a {
  color: #f0c040 !important;
  /* Gold */
  font-weight: bold;
  text-decoration: none;
}



/* GUILD CREATE STYLE */
.guild-action-box {
  background: rgba(14, 18, 26, 0.95);
  border: 1px solid #f0c040;
  padding: 40px;
  border-radius: 6px;
  max-width: 500px;
  margin: 50px auto;
  box-shadow: 0 0 30px rgba(240, 192, 64, 0.15);
  text-align: center;
}

.guild-action-box .form-group {
  text-align: left;
  margin-bottom: 20px;
}

/* GUILD VIEW COLORS FIX */
.member-name {
  font-weight: bold;
  text-decoration: none;
  transition: color 0.2s;
}

.member-name.online {
  color: #2ecc71 !important;
  /* Green for online */
}

.member-name.offline {
  color: #aaa !important;
  /* Light gray for offline */
}

.member-name:hover {
  color: #f0c040 !important;
  /* Gold on hover */
  text-decoration: underline;
}


/* Ensure no default blue/purple links in guild table */
.modern-table a {
  color: #f0c040;
}

.btn-manage-guild {
  display: inline-block;
  background: linear-gradient(135deg, #2c3e50, #1a252f);
  /* Dark Blue/Grey Contrast */
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid #34495e;
  transition: all 0.3s ease;
}

.btn-manage-guild:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(44, 62, 80, 0.4);
  background: linear-gradient(135deg, #34495e, #2c3e50);
  border-color: #f0c040;
  color: #f0c040;
}

/* GENERAL GUILD LINKS OVERRIDE */
.guilds-page a {
  color: #f0c040;
  text-decoration: none;
}

.guilds-page a:hover {
  color: #ffd700;
  text-decoration: underline;
}

/* GUILD MANAGER STYLES */
.manager-header {
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: #aaa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

.manager-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.manager-tile {
  background: rgba(16, 20, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  text-decoration: none !important;
  /* Force no underline */
}

.manager-tile:hover {
  background: rgba(240, 192, 64, 0.1);
  border-color: rgba(240, 192, 64, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.mt-icon {
  font-size: 2.5rem;
  color: #f0c040;
  margin-bottom: 15px;
  transition: transform 0.3s;
}

.manager-tile:hover .mt-icon {
  transform: scale(1.1);
}

.mt-label {
  font-family: 'Cinzel', serif;
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.manager-tile.danger:hover {
  background: rgba(231, 76, 60, 0.1);
  border-color: rgba(231, 76, 60, 0.4);
}

.manager-tile.danger .mt-icon {
  color: #e74c3c;
}

.manager-tile.danger:hover .mt-icon {
  color: #ff6b6b;
}

/* BACK LINK */
.back-link-wrapper {
  text-align: center;
  margin-top: 40px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #aaa;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.btn-back:hover {
  color: #fff;
}

/* SERVER INFO PREMIUM REDESIGN */
.si-container {
  max-width: 800px;
  margin: 0 auto;
}

.si-main-header {
  text-align: center;
  margin-bottom: 40px;
}

.si-title {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  color: #f0c040;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(240, 192, 64, 0.3);
}

.si-links {
  font-size: 0.9rem;
  color: #aaa;
}

.si-links a {
  color: #f0c040;
  text-decoration: none;
  font-weight: bold;
  margin-left: 5px;
}

.si-section-title {
  font-family: 'Cinzel', serif;
  color: #f0c040;
  font-size: 1.4rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(240, 192, 64, 0.3);
  padding-bottom: 10px;
}

.si-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.si-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.si-card {
  background: rgba(14, 18, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
  position: relative;
}

.si-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 192, 64, 0.3);
}

.si-label {
  font-size: 0.8rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.si-value {
  font-size: 1.2rem;
  color: #fff;
  font-weight: bold;
}

.si-value.big {
  font-size: 2.5rem;
  color: #f0c040;
  font-family: 'Cinzel', serif;
}

.si-value.highlight {
  color: #2ecc71;
}

.si-ip-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 15px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 1.2rem;
  letter-spacing: 1px;
  border: 1px solid rgba(240, 192, 64, 0.2);
  display: inline-block;
  color: #fff;
}

.si-housing-box {
  grid-column: span 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.badge-disabled {
  background: rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: bold;
}

.si-icon-box {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.si-footer-note {
  background: rgba(240, 192, 64, 0.05);
  border: 1px solid rgba(240, 192, 64, 0.2);
  padding: 20px;
  border-radius: 6px;
  margin-top: 40px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.si-footer-icon {
  color: #f0c040;
  font-size: 1.5rem;
  margin-top: 2px;
}

/* TOP PLAYERS COMPACT */
.venore-rankings table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  /* Critical for truncation in tables */
}

.vp-row {
  display: flex;
  align-items: center;
  gap: 4px;
  /* Reduced gap */
  padding: 2px 0;
  width: 100%;
  box-sizing: border-box;
  /* Ensure padding doesn't add to width */
}

.vp-rank {
  font-weight: bold;
  color: #f0c040;
  width: 15px;
  font-size: 0.9rem;
  text-align: center;
  flex-shrink: 0;
}

.vp-outfit-small {
  width: 32px;
  /* Reduced from 36 */
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-shrink: 0;
}

.vp-outfit-small img {
  /* Tibia outfit images are 64x64. The sprite is usually at bottom-right of center.
     To show the full body in a small box, we need to center carefully. */
  margin-top: -12px;
  margin-left: -12px;
}

.vp-info {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.vp-name {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.75rem;
  /* Smaller font */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  display: block;
}

.vp-name:hover {
  color: #f0c040;
  text-decoration: underline;
}

.vp-level {
  color: #888;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 3px;
  border-radius: 3px;
  flex-shrink: 0;
  /* Always show level */
  margin-left: auto;
  /* Push to right if name is short */
}