/* ===================================================
   SpaceRO FluxCP — Eat Bulaga Fiesta Theme 🎉
   Inspired by the iconic Filipino noontime show
   Icons by Icons8 (https://icons8.com)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* === CSS VARIABLES — Eat Bulaga Fiesta Palette === */
:root {
  --bg-primary:       #1c0a02;
  --bg-secondary:     #2a1005;
  --bg-card:          #361508;
  --bg-card-hover:    #451c0a;
  --sidebar-width:    230px;
  --header-height:    68px;
  --gold:             #FFD700;
  --gold-light:       #FFE84D;
  --gold-dim:         rgba(255,215,0,0.13);
  --gold-border:      rgba(255,215,0,0.30);
  --purple:           #E53935;
  --red:              #1565C0;
  --eb-yellow:        #FFD700;
  --eb-red:           #E53935;
  --eb-blue:          #1565C0;
  --eb-orange:        #FF6F00;
  --eb-green:         #2E7D32;
  --text:             #FFF8E7;
  --text-muted:       #FFCC80;
  --text-dim:         #A0785A;
  --border:           rgba(255,215,0,0.10);
  --shadow:           0 4px 24px rgba(0,0,0,0.60);
  --shadow-lg:        0 8px 48px rgba(0,0,0,0.80);
  --radius:           8px;
  --radius-sm:        5px;
  --transition:       0.18s ease;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; }

html { height: 100%; }

body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', 'Lucida Grande', Verdana, sans-serif;
  font-size: 13.5px;
  color: var(--text);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse 70% 50% at 5% 0%,  rgba(229,57,53,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 0%,  rgba(21,101,192,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(255,215,0,0.07) 0%, transparent 60%);
  min-height: 100%;
}

/* ===== FIESTA CONFETTI DOTS (decorative) ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 8%   12%, rgba(255,215,0,0.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 22%  5%,  rgba(229,57,53,0.30) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 37%  18%, rgba(21,101,192,0.30) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 55%  8%,  rgba(255,215,0,0.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 70%  15%, rgba(229,57,53,0.28) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 84%  6%,  rgba(21,101,192,0.28) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 93%  22%, rgba(255,215,0,0.30) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 15%  88%, rgba(229,57,53,0.25) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45%  92%, rgba(255,215,0,0.28) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 78%  85%, rgba(21,101,192,0.25) 0%, transparent 100%);
}

/* Hide the original table-based outer wrapper */
body > table { display: none !important; }

p  { margin: 4px 0 10px; padding: 0; }
a  { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
a img { border: 0; }
label:hover { cursor: pointer; }

/* === LAYOUT WRAPPER === */
#ro-app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===================================================
   TOP HEADER
   =================================================== */
#ro-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-height);
  background: linear-gradient(135deg, #7B0000 0%, #C62828 35%, #E53935 50%, #C62828 65%, #7B0000 100%);
  border-bottom: 3px solid var(--eb-yellow);
  box-shadow: 0 3px 30px rgba(0,0,0,0.7), 0 1px 0 rgba(255,215,0,0.2);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
}

/* Yellow shimmer line under header */
#ro-header::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #E53935 0%, #FFD700 25%, #FFFFFF 50%, #FFD700 75%, #1565C0 100%);
  opacity: 0.9;
}

/* Star accents in header */
#ro-header::before {
  content: '★ ✦ ★';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,215,0,0.15);
  font-size: 32px;
  letter-spacing: 20px;
  pointer-events: none;
}

#ro-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

#ro-logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(212,168,67,0.45));
}

#ro-logo .ro-site-name {
  font-family: 'Cinzel Decorative', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(212,168,67,0.5), 0 2px 4px rgba(0,0,0,0.8);
  letter-spacing: 1.5px;
  white-space: nowrap;
}

#ro-header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}

#ro-header-right .server-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.5px;
}

#ro-header-right .server-tag img { width: 14px; height: 14px; }

/* ===================================================
   BODY LAYOUT
   =================================================== */
#ro-body {
  display: flex;
  flex: 1;
  min-height: calc(100vh - var(--header-height));
}

/* ===================================================
   SIDEBAR
   =================================================== */
#ro-sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 20px 0 24px;
  overflow-y: auto;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
}

/* Admin section */
.ro-admin-nav {
  margin: 0 10px 16px;
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius);
  background: rgba(192,57,43,0.06);
  overflow: hidden;
}

.ro-admin-nav-title {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px 7px;
  font-family: 'Cinzel', serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e74c3c;
  border-bottom: 1px solid rgba(192,57,43,0.2);
}

.ro-admin-nav-title img { width: 13px; height: 13px; }

.ro-admin-nav .ro-nav-link {
  padding: 7px 14px 7px 16px;
  color: #c0392b;
  border-left: 3px solid transparent;
  font-size: 12.5px;
}

.ro-admin-nav .ro-nav-link:hover {
  background: rgba(192,57,43,0.1);
  border-left-color: #e74c3c;
  color: #e74c3c;
}

/* Main navigation */
.ro-nav-section {
  margin-bottom: 6px;
}

.ro-nav-section-label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px 6px;
  font-family: 'Cinzel', serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-border);
  margin: 0 0 3px;
}

.ro-nav-section-label img { width: 13px; height: 13px; opacity: 0.85; }

.ro-nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 20px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.ro-nav-link:hover {
  color: var(--text);
  background: linear-gradient(90deg, var(--gold-dim), transparent 80%);
  border-left-color: var(--gold);
  padding-left: 22px;
  text-decoration: none;
}

.ro-nav-link .nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.ro-nav-link:hover .nav-icon { opacity: 1; }

/* ===================================================
   MAIN CONTENT AREA
   =================================================== */
#ro-main {
  flex: 1;
  padding: 28px 28px 40px;
  min-width: 0;
}

/* User info bar (shown when logged in) */
#ro-userbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #1c1830, #15122a);
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--gold-border);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 11px 20px;
  margin-bottom: -1px;
}

.ro-userbar-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.ro-userbar-info {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.ro-userbar-info strong a {
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
}

.ro-userbar-info strong a:hover { color: var(--gold-light); }

.ro-userbar-info select {
  background: var(--bg-secondary) !important;
  border: 1px solid var(--gold-border) !important;
  color: var(--text) !important;
  padding: 3px 8px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 12px !important;
  cursor: pointer !important;
}

.ro-admin-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ro-admin-links a {
  font-size: 11.5px;
  color: #e74c3c;
  padding: 3px 10px;
  border: 1px solid rgba(231,76,60,0.35);
  border-radius: 20px;
  transition: all var(--transition);
}

.ro-admin-links a:hover {
  background: rgba(231,76,60,0.12);
  border-color: #e74c3c;
  text-decoration: none;
}

/* Content card */
#ro-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#ro-content-inner {
  padding: 24px 24px 28px;
}

/* ===================================================
   MESSAGES & NOTICES
   =================================================== */
.message, p.message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  margin: 0 0 16px;
  font-weight: 500;
  font-size: 13.5px;
  color: #d5f5e3;
  background: rgba(39,174,96,0.1);
  border: 1px solid rgba(39,174,96,0.35);
  border-radius: var(--radius);
  border-left: 4px solid #27ae60;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  color: #85c1e9;
  background: rgba(52,152,219,0.08);
  border: 1px solid rgba(52,152,219,0.3);
  border-radius: var(--radius);
  border-left: 4px solid #3498db;
  margin: 0 0 16px;
  font-size: 13px;
}

.red, p.red {
  display: block;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 13px;
  color: #fadbd8;
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius);
  border-left: 4px solid #c0392b;
  margin: 0 0 12px;
}

.green, p.green {
  display: block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 13px;
  color: #abebc6;
  background: rgba(39,174,96,0.08);
  border: 1px solid rgba(39,174,96,0.25);
  border-radius: var(--radius);
  margin: 0 0 10px;
}

.note {
  padding: 10px 14px;
  font-style: italic;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 0 0 10px;
}

/* ===================================================
   HEADINGS
   =================================================== */
h2 {
  font-family: 'Cinzel', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gold-border);
  letter-spacing: 0.5px;
  text-shadow: 0 0 30px rgba(212,168,67,0.25);
}

h3 {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 7px;
  margin: 22px 0 12px;
}

h4 {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin: 14px 0 7px;
}

/* ===================================================
   SUBMENU & PAGE MENU
   =================================================== */
#submenu {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--text-dim);
}

#submenu a, #submenu .sub-menu-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  margin: 0 4px 4px 0;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  transition: all var(--transition);
}

#submenu a:hover, #submenu a.current-sub-menu {
  color: var(--text);
  border-color: var(--gold-border);
  background: var(--gold-dim);
  text-decoration: none;
}

#submenu a.current-sub-menu {
  color: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}

#pagemenu {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--text-dim);
}

#pagemenu a {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  margin: 0 4px 4px 0;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all var(--transition);
}

#pagemenu a:hover {
  color: var(--gold);
  border-color: var(--gold-border);
  background: var(--gold-dim);
  text-decoration: none;
}

/* ===================================================
   CREDIT BALANCE
   =================================================== */
.credit-balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  font-size: 12.5px;
  margin-bottom: 14px;
}

.credit-balance .balance-text {
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.credit-balance .balance-amount {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
}

/* ===================================================
   TABLES
   =================================================== */
table {
  font-family: 'Open Sans', Verdana, sans-serif;
  font-size: 13px;
}

.horizontal-table {
  border-spacing: 0;
  border-collapse: collapse;
  width: 100%;
  background: transparent;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.horizontal-table th {
  padding: 10px 14px;
  background: var(--bg-secondary);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-bottom: 1px solid var(--gold-border);
  text-align: left;
  white-space: nowrap;
}

.horizontal-table td {
  padding: 9px 14px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.horizontal-table tr:last-child td { border-bottom: none; }
.horizontal-table tr:hover td { background: rgba(255,255,255,0.025); }

.vertical-table {
  border-spacing: 0;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.vertical-table th {
  padding: 9px 14px;
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-bottom: 1px solid var(--border);
  text-align: right;
  white-space: nowrap;
}

.vertical-table td {
  padding: 9px 14px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.vertical-table tr:last-child th,
.vertical-table tr:last-child td { border-bottom: none; }

.vertical-table label {
  display: block;
  padding: 5px 0;
  color: var(--text-muted);
}

/* install table */
.install_table th, .install_table td {
  padding: 8px 12px;
  border: 1px solid var(--border);
}
.install_table th { background: var(--bg-secondary); color: var(--text-muted); }
.created { color: #27ae60; }
.missing  { color: #e74c3c; }

/* ===================================================
   FORMS
   =================================================== */
.generic-form, .generic-form-div {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.generic-form-table th {
  text-align: right;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12.5px;
  padding: 8px 12px;
  white-space: nowrap;
  vertical-align: middle;
}

.generic-form-table td {
  padding: 8px 12px;
  color: var(--text);
  vertical-align: middle;
}

.generic-form-table th label {
  display: block;
  padding: 6px 0;
  color: var(--text-muted);
}

.generic-form-table td div { display: block; padding: 6px 0; }
.generic-form-table td p  { margin: 6px 5px; color: var(--text-muted); }
.generic-form-table td input[type=checkbox] { display: inline-block; margin-top: 6px; }

input[type=text],
input[type=password],
input[type=file],
textarea {
  font-family: 'Open Sans', Verdana, sans-serif;
  background: var(--bg-secondary) !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  outline: none !important;
  transition: border-color var(--transition), box-shadow var(--transition);
}

input[type=text]:focus,
input[type=password]:focus,
textarea:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(212,168,67,0.1) !important;
  background-color: var(--bg-card) !important;
  color: var(--text) !important;
}

input[type=submit],
.submit_button {
  background: linear-gradient(135deg, #b8891a, #d4a843) !important;
  color: #0d0b14 !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 9px 22px !important;
  font-family: 'Cinzel', serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all var(--transition) !important;
  box-shadow: 0 2px 8px rgba(212,168,67,0.25) !important;
}

input[type=submit]:hover,
.submit_button:hover {
  background: linear-gradient(135deg, #d4a843, #f0c96a) !important;
  box-shadow: 0 4px 18px rgba(212,168,67,0.45) !important;
  transform: translateY(-1px) !important;
}

/* Security code image */
.security-code {
  margin: 6px 0;
  text-align: left;
  width: 145px;
  height: 50px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ===================================================
   RATES BANNER
   =================================================== */
.ro-rates-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(135deg, #1c1830 0%, #13101e 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(212,168,67,0.08);
}

.ro-rate-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 28px;
  flex: 1;
  justify-content: center;
}

.ro-rate-card img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.ro-rate-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ro-rate-value {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 20px rgba(212,168,67,0.4);
  letter-spacing: -0.5px;
}

.ro-rate-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ro-rate-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--gold-border), transparent);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .ro-rates-banner { flex-direction: column; padding: 16px; gap: 16px; }
  .ro-rate-divider  { width: 48px; height: 1px; background: linear-gradient(to right, transparent, var(--gold-border), transparent); }
}

/* ===================================================
   PAGINATION
   =================================================== */
.pages {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 12px;
}

.pages .page-prev, .pages .page-next {
  color: var(--gold);
  font-weight: 600;
}

.pages .page-num { padding: 0 4px; }

.pages .current-page {
  color: var(--gold);
  font-weight: 700;
  font-family: 'Cinzel', serif;
}

.jump-to-page {
  margin-top: 10px;
  font-size: 11px;
  text-align: center;
  color: var(--text-muted);
}

.jump-to-page input {
  padding: 3px 6px;
  font-size: 11px;
}

/* ===================================================
   RANKINGS & SPECIAL ROWS
   =================================================== */
.top-ranked td {
  background: rgba(212,168,67,0.07) !important;
  color: var(--gold) !important;
}

.top-ranked a {
  color: var(--gold) !important;
  border-bottom: 1px dotted rgba(212,168,67,0.4);
}

.item-drop-mvp td  { background: rgba(124,108,240,0.07) !important; }
.item-drop-card td { background: rgba(52,152,219,0.07) !important; }

.mvp {
  font-size: 9px;
  font-weight: 700;
  color: #e74c3c;
  vertical-align: top;
}

.equipped td      { background: rgba(39,174,96,0.07) !important; }

.overslotted1     { color: #2ecc71; }
.overslotted2     { color: #3498db; }
.overslotted3     { color: #f39c12; }
.overslotted4     { color: #9b59b6; }

/* Status */
.state-pending             { color: #f39c12; }
.state-banned              { color: #e74c3c; }
.state-permanently-banned  { font-weight: 700; color: #c0392b; }
.online  { color: #2ecc71; font-weight: 600; }
.offline { color: var(--text-dim); }

.up   { font-weight: 700; color: #2ecc71; text-transform: uppercase; }
.down { color: #e74c3c; text-transform: uppercase; }

/* ===================================================
   MISC COMPONENTS
   =================================================== */
.module-name {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}

.action { color: var(--text-dim); }
.action a, .action span.anchor {
  color: var(--gold);
  border-bottom: 1px solid var(--gold-border);
  cursor: pointer;
}

.block-link {
  display: block;
  padding: 5px 8px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.block-link:hover { color: var(--gold); text-decoration: none; }

.button-action {
  padding: 6px 0;
  text-align: left;
}

.td-checkbox { text-align: center; }
.td-action   { color: var(--text-dim); text-align: center; }
.vertical-table .td-action { text-align: right; }
.not-applicable { font-style: italic; color: var(--text-dim); }

.info-text {
  margin-bottom: 8px;
  padding: 8px 12px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 12px;
}

.info-text-total, .info-text-results { font-weight: 600; color: var(--text); }

.current-sub-menu { font-weight: 600; }

.toggler { font-weight: 600; font-style: italic; }
.toggler a { color: var(--gold); }

.keyword { color: #f39c12; font-style: italic; }

.request, .fs-path {
  display: inline-block;
  padding: 2px 6px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-muted);
}

.raw-txn-log {
  padding: 12px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 98%;
  overflow: auto;
  color: var(--text-muted);
}

/* Search form */
.search-form, .search-form2 {
  display: none;
  margin: 0 0 14px;
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.search-form p, .search-form2 p {
  margin: 0 0 8px;
  padding: 0 0 8px;
  color: var(--text-muted);
  font-size: 12px;
  border-bottom: 1px solid var(--border);
}

.search-form label, .search-form2 label {
  display: inline-block;
  margin: 0 0 3px;
  font-size: 11px;
  font-style: italic;
  color: var(--text-muted);
}

/* Cart & Donate */
.cart { width: 100%; }
.cart label { display: block; }
.cart h4 { margin: 12px 0 3px; font-size: 16px; }
.remove-from-cart { width: 100%; text-align: right; }
.checkout-text { font-size: 14px; font-weight: 600; }
.checkout-text a { border-bottom: 1px dotted var(--border); }
.checkout-text a:hover { color: var(--text); border-bottom-color: var(--gold); }

.enter-donation-amount { margin: 0; padding: 0 0 6px; font-size: 14px; }
.donation-amount-text  { margin: 0; padding: 0; font-size: 14px; text-align: center; }
.credit-amount-text    { font-size: 10px; text-transform: uppercase; color: var(--text-dim); text-align: center; letter-spacing: 1px; }
.donation-amount       { font-weight: 700; color: var(--gold); }
.credit-amount         { color: var(--text-muted); }
.reset-amount-text     { margin: 0; padding: 0; font-size: 10px; text-align: center; }
.checkout-info-text    { margin: 0 0 6px; padding: 0; }
.remaining-balance     { color: var(--text); font-weight: 600; }
.exchange-rate         { font-size: 14px; font-weight: 700; color: var(--gold); }
.important             { font-size: 14px; color: var(--text); }
.important .server-name { font-weight: 700; color: var(--gold); }
.cart-sub-total        { color: var(--text); font-weight: 600; }
.checkout-text         { font-size: 14px; font-weight: 600; }

/* WoE */
.woe-table {
  border-spacing: 0;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.woe-table th, .woe-table td { padding: 9px 14px; }

.woe-table th {
  background: var(--bg-secondary);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-border);
  font-weight: 700;
}

.woe-table td { font-size: 13px; border-bottom: 1px solid var(--border); }
.woe-table tr:last-child td { border-bottom: none; }
.woe-table .server { font-weight: 600; }
.woe-table .time   { font-style: italic; color: var(--text-muted); }

/* Monster modes list */
.monster-mode {
  margin: 0; padding: 0;
  list-style: square inside;
}

.monster-mode li {
  padding: 2px 0;
  border-bottom: 1px dotted var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

/* Job classes */
.job-classes { border-spacing: 0; }
.job-classes td { padding-right: 10px; border-right: 1px solid var(--border); }

/* Shop */
.current-shop-category { font-weight: 700; color: var(--gold); }

/* Homepage sections */
.ro-section { margin-bottom: 40px; }

.ro-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.ro-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ro-section-sub {
  font-size: 13px;
  color: var(--text-dim);
  margin: 0 0 20px 0;
  line-height: 1.6;
}

/* News */
.newsDiv { display: flex; flex-direction: column; gap: 18px; }

.ro-news-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.news-card-header {
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--gold);
}

.news-card-title {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-dim);
}

.news-card-body {
  padding: 14px 18px;
  border: none !important;
  border-left: 3px solid var(--gold) !important;
  border-radius: 0 !important;
}

.newsCont {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px;
}

.newsDate {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dim);
  font-size: 11px;
}

.news_link {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  font-size: 11.5px;
  color: var(--gold);
}

.news_link:hover {
  background: rgba(212,168,67,0.2);
  text-decoration: none;
}

/* Multi-select */
.multi-select { width: 100%; }

/* Script textarea */
.script { width: 98%; }

/* Hold hours */
.hold-hours { color: #f39c12; font-style: italic; }

/* ===================================================
   FOOTER
   =================================================== */
#ro-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--gold-border);
  padding: 14px 28px;
}

.ro-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  color: var(--text-dim);
}

.ro-footer-inner a { color: var(--text-muted); }
.ro-footer-inner a:hover { color: var(--gold); }

.ro-footer-inner select {
  background: var(--bg-primary) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
  padding: 3px 8px !important;
  border-radius: var(--radius-sm) !important;
  font-size: 11px !important;
}

/* ===================================================
   SCROLLBAR
   =================================================== */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(212,168,67,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ===================================================
   RECAPTCHA
   =================================================== */
.g-recaptcha { margin: 10px 0; }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
  :root { --sidebar-width: 60px; }
  #ro-sidebar { padding: 12px 0; }
  .ro-nav-section-label span,
  .ro-nav-link span,
  .ro-admin-nav-title span { display: none; }
  .ro-nav-link { padding: 10px; justify-content: center; }
  .ro-nav-link .nav-icon { width: 22px; height: 22px; opacity: 0.9; }
  #ro-logo .ro-site-name { display: none; }
  #ro-main { padding: 16px; }
}
