/* Base styles */
body {
    font-family: Semplicita Pro, Open Sans, Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #000000;
    background-image: url('../images/Repeating-BG.png');
    background-repeat: repeat-x;
    background-position: bottom;
    background-attachment: fixed;
}

.centered-content {
  max-width: 1100px;         /* Make this match your intended site width */
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.guild-banner {
  width: 100%;
  background: #181210;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}

.guild-banner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 320px;
  object-fit: cover;
  margin: 0 auto;
  border-bottom: 4px solid #b68b45;
  box-shadow: 0 6px 18px #000c;
  border-radius: 0 0 18px 18px;
}

@media (max-width: 700px) {
  .guild-banner img {
    max-height: 150px;
  }
}


/* Player name styles */
.player-name {
    cursor: pointer;
    text-decoration: none;
    color: #ffd700;
}

.player-name:hover {
    cursor: pointer;
    color: #fff7cc;
    text-decoration: underline;
    text-shadow: 
        0 0 2px #000,
        0 0 4px #000,
        0 0 6px #000;
}

/* Top banner */
.top-banner {
    background: url('../images/paneltop.jpg') repeat-x;
    height: 62px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 86%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    text-align: center;
    z-index: 1;
}

/* Authentication container */
#auth-container {
    position: absolute;
    top: 35px;
    right: 40px;
    transform: translateY(-50%);
}

#auth-container button {
    background: linear-gradient(to bottom, #4a1c03 0%, #854113 100%);
    color: #ffd700;
    border: 1.2px solid #ffd700;
    border-radius: 3px;
    padding: 5px 9px;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transform: translateY(15%);
    transition: all 0.3s ease;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
    text-shadow: 0.6px 0.6px 1.2px #000;
    position: relative;
    overflow: hidden;
}

.member-entry {
  display: flex;
  align-items: flex-start;
  margin-top: 2em;
}
.member-entry .member-text {
  flex: 1;
  padding: 2em 1.5em 2em 2em; /* Match .member-section styling for consistency */
}
.member-entry .member-screenshot {
  margin-left: 2.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  flex-shrink: 0; /* Prevent the screenshot from shrinking on desktop */
}
.member-entry .member-screenshot img {
  max-width: 140px;
  max-height: 180px;
  border-radius: 12px;
  border: 3px double #ffd700;
  box-shadow: 0 0 12px #000;
  background: #222;
}

.gold-fade-line {
  width: 80%;
  margin: 3em auto 1.5em auto;
  height: 3px;
  border: none;
  background: linear-gradient(to right, 
    rgba(255, 215, 0, 0), 
    #FFD700 32%, 
    #FFD700 68%, 
    rgba(255, 215, 0, 0));
  opacity: 0.95;
  border-radius: 3px;
  display: block;
}

@media (max-width: 800px) {
  .member-entry {
    flex-direction: column;
    align-items: flex-start;
  }
  .member-entry .member-text {
    padding: 1.2em 0.8em 1em 0.8em;
  }
  .member-entry .member-screenshot {
    margin: 1em 0 0 0;
    max-width: 100%;
  }
  .member-entry .member-screenshot img {
    max-width: 100%;
    height: auto;
    border-width: 2px;
    border-radius: 8px;
  }
  .gold-fade-line {
    width: 98%;
  }
}





.navigation-button:hover {
    background: linear-gradient(to bottom, #5a2203 0%, #955123 100%);
    box-shadow: 0 0 9px rgba(255, 215, 0, 0.7);
    transform: translateY(13.2%) scale(1.05);
}

navigation-button:hover::before {
    opacity: 1;
    transform: scale(1);
}

navigation-button:active {
    transform: translateY(16.2%) scale(0.95);
    box-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
}

#auth-container button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, transparent 70%);
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.5);
}

#auth-container button:hover {
    background: linear-gradient(to bottom, #5a2203 0%, #955123 100%);
    box-shadow: 0 0 9px rgba(255, 215, 0, 0.7);
    transform: translateY(13.2%) scale(1.05);
}

#auth-container button:hover::before {
    opacity: 1;
    transform: scale(1);
}

#auth-container button:active {
    transform: translateY(16.2%) scale(0.95);
    box-shadow: 0 0 3px rgba(255, 215, 0, 0.3);
}

/* Navigation */
.navigation-container {
    background: linear-gradient(to bottom, #2b1810 0%, #1a0f0a 100%);
    border: 1px solid #463225;
    border-bottom: none;
    padding: .5%;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px 8px 0 0;
    margin: 0 auto;
    box-shadow: inset 0 1px 3px rgba(255, 215, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

/* Headers */
h1 {
    font-family: 'LifeCraft', serif;
    padding-top: 20px;
    color: #ffd700;
    font-size: 3em;
    margin-bottom: 20px;
    text-align: center;
    max-width: none;
}

/* Form elements */
label, input, textarea, button, th, td, .dropbtn, .dropdown-item {
    cursor: pointer;
}

input, textarea, button {
    font-size: 1em;
    padding: 10px;
    margin: 10px;
    border: none;
    border-radius: 5px;
}

input[type="date"], textarea {
    width: 100%;
    max-width: 300px;
    background-color: #333;
    color: #fff;
}

/* Table Styles - Updated */
.parchment-table-container {
    width: 100%;
	margin: 0 auto;
    position: relative;
}

.parchment-table-content {
    background-color: rgba(20, 20, 20, 0.95);
    padding: 10px;
    border: 1px solid #463225;
}

#lootTable {
    table-layout: fixed;
	min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: transparent;
}

/* Header styles */
#lootTable th {
    background: linear-gradient(to bottom, #2b1810 0%, #1a0f0a 100%);
    color: #ffd700;
    border: 1px solid #463225;
    padding: 12px 4px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: pointer;
}


/* Cell styles with specific color handling */
#lootTable td {
    background-color: rgba(40, 30, 20, 0.95);
    border: 1px solid #463225;
    padding: 8px;
    color: #ffffff;
    transition: all 0.3s ease;
}

#lootTable th, 
#lootTable td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* From (boss) column */
#lootTable td:nth-child(2) {
    color: #ffffff;
}

/* Class column */
#lootTable td:nth-child(4) {
    color: #ffffff;
}

/* Spec column */
#lootTable td:nth-child(5) {
    color: #ffffff;
}

/* SR Points column - matching player name color */
#lootTable td:nth-child(7) {
    color: #ffd700;
}


/* Quality colors for items */
.q1 { color: #ffffff !important; } /* Common */
.q2 { color: #1eff00 !important; } /* Uncommon */
.q3 { color: #0070dd !important; } /* Rare */
.q4 { color: #a335ee !important; } /* Epic */
.q5 { color: #ff8000 !important; } /* Legendary */

/* Alternating row styles */
#lootTable tr:nth-child(even) td {
    background-color: rgba(45, 35, 25, 0.95);
}

tr.player-row {
  position: relative; /* Required for positioning the pseudo-element */
  transition: transform 0.2s ease-in-out; /* Smooth transition for the lift effect */
}

tr.player-row:hover {
  transform: translateY(-3px); /* Lift up on hover */
}

tr.player-row::after {
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 16px;
  font-weight: bold;
  transition: opacity 0.2s ease-in-out; 
}

tr.player-row:hover::after {
  content: "+"; /* Display "+" on hover */
  opacity: 1; /* Make it visible */
}



tr.player-row.expanded::after {
  content: "-"; /* Change to "-" when expanded */
}

tr.item-details h2 { /* Assuming you have an h2 for the header */
  font-size: 1rem; /* Reduce header font size */
  margin: 0.5rem 0; /* Adjust margin as needed */
  color: #ffd700; /* Match player name color for visual connection */
}

tr.item-details {
  margin: 0px;
  padding: 0px;
  border: none; /* Remove border */
  border-bottom: 4px solid #463225; /* Add bottom border to match player-row */
}

tr.item-history {
	margin: 0px;
	padding: 0px;
	background-color: rgba(20, 20, 20, 0.95)
}

tr.item-row {
  position: relative;
  transition: transform 0.2s ease-in-out;
}

tr.item-row:hover {
  transform: translateY(-3px); /* Lift up on hover */
}

tr.item-row::after {
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 16px;
  font-weight: bold;
  transition: opacity 0.2s ease-in-out;
  opacity: 0; /* Initially hidden */
}

tr.item-row:hover::after {
  content: "+"; /* Display "+" on hover */
  opacity: 1; /* Make it visible */
}

tr.item-row.expanded::after {
  content: "-"; /* Change to "-" when expanded */
}

.items-table-wrapper {
  padding: 0; /* Remove padding */
  margin: 0px;
}

table.items-table th,
table.items-history-table td,
table.item-details tr {
  margin-left: 0; /* Remove left padding */
}

.item-history-table-wrapper {
  margin: 0; /* Remove margin */
  padding: 0; /* Remove padding */
}


table.item-history-table th {
  font-size: 0.9rem; /* Reduce header font size */
  padding: 4px 8px; /* Reduce header padding */
}

table.item-history-table td {
  font-size: 0.9rem; /* Reduce row font size */
  padding: 4px 8px; /* Reduce row padding */
}


/* Hover effects */
#lootTable tr:hover td {
    background-color: rgba(70, 50, 30, 0.95);
}

/* Edit mode styles */
#lootTable input[type="text"] {
    background-color: rgba(30, 25, 20, 0.95);
    border: 1px solid #463225;
    color: #ffd700;
    padding: 4px 8px;
    width: 90%;
    margin: 2px;
}

#lootTable input[type="text"]:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* Delete button styles */
#lootTable button {
    background-color: rgba(40, 30, 20, 0.95);
    border: 1px solid #463225;
    color: #ff4444;
    cursor: pointer;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

#lootTable button:hover {
    background-color: rgba(60, 45, 30, 0.95);
    border-color: #ff4444;
}

/* Sort indicators */
th::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border: 4px solid transparent;
    margin-left: 6px;
    vertical-align: middle;
}

th.sort-asc::after {
    border-bottom: 4px solid #ffd700;
    border-top: none;
}

th.sort-desc::after {
    border-top: 4px solid #ffd700;
    border-bottom: none;
}

/* Notice styles */
.notice {
    padding: 20px;
    background-color: #f44336;
    color: white;
    margin-bottom: 15px;
}

.notice p {
    margin: 0;
}

.notice .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.notice .closebtn:hover {
    color: black;
}

.notice .scroll-box {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #444;
    padding: 10px;
    background-color: #2c2c2c;
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    padding: 10px 20px;
    margin: 0;
    background-color: #333;
    color: #ffd700;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 14px;
    border: none;
    box-shadow: inset 1px 1px 5px rgba(255, 255, 255, 0.1), 
                inset -1px -1px 5px rgba(0, 0, 0, 0.3);
}

.dropbtn:hover, .dropdown:hover .dropbtn {
    background-color: #555;
}

/* Filter styles */
#filterIndicator {
    background-color: #444;
    color: #ffd700;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: left;
}

#clearFilterButton {
    background-color: #555;
    color: #ffd700;
    padding: 10px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#clearFilterButton:hover {
    background-color: #777;
}

/* Chevron navigation styles */
.chevron-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-right: auto;
    min-width: min-content;
}

.chevron {
    color: #ffd700;
    border: 1px solid #ffd700;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 1px 2px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, #1a3063 0%, #0c1b3b 100%);
}

.chevron:active {
    transform: translateY(1px);
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

.chevron:hover {
    background: linear-gradient(to bottom, #5a2203 0%, #955123 100%);
    transform: translateY(-1px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

.chevron.active {
    background: linear-gradient(to bottom, #850404 0%, #630303 100%);
    box-shadow: 
        inset 0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(255, 215, 0, 0.4);
    animation: glow 3s infinite alternate;
}

/* Raid Dates Dropdown */
.raid-dates-dropdown {
    position: relative;
    z-index: 9999;
}

.raid-dates-button {
    background: linear-gradient(to bottom, #1a1a1a 0%, #333333 100%);
    color: #ffd700;
    border: 1px solid #ffd700;
    padding: 8px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 180px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.2);
}

.navigation-button {
    background: linear-gradient(to bottom, #1a1a1a 0%, #333333 100%);
    color: #ffd700;
    border: 1px solid #ffd700;
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 120px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.2);
}

.raid-dates-button:after {
    content: '▼';
    font-size: 10px;
    margin-left: auto;
}

.raid-dates-button:hover {
    background: linear-gradient(to bottom, #2a2a2a 0%, #434343 100%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 8px rgba(255, 215, 0, 0.2);
}

.raid-dates-content {
    display: none !important;
    position: fixed !important;
    right: 0;
    top: 100%;
    background: #1a1a1a;
    border: 1px solid #ffd700;
    border-radius: 4px;
    min-width: 180px;
    z-index: 1000 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    max-height: 300px;
    overflow-y: auto !important;
    margin-top: -5px;
}

.raid-dates-content .dropdown-item {
    display: block !important;
}

.raid-dates-dropdown:hover .raid-dates-content {
    display: block !important;
    position: absolute !important;
}

/* Dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
}

.dropdown-item {
    padding: 8px 16px;
    color: #ffd700;
    transition: background-color 0.2s ease;
    z-index: 100;
}

.dropdown-content .dropdown-item {
    color: #ffd700;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    background-color: #333;
    z-index: 100;
}

.dropdown-item:hover {
  background: linear-gradient(to bottom, #5a2203 0%, #955123 100%);
  color: #ffffff;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #777;
}

/* Keyframe Animations */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700, 0 0 15px #ffd700, 0 0 20px #ffd700;
    }
    100% {
        box-shadow: 0 0 10px #ff4500, 0 0 20px #ff4500, 0 0 30px #ff4500, 0 0 40px #ff4500;
    }
}

@keyframes hover {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Focus states */
#auth-container button:focus {
    outline: none;
    animation: pulse 1.5s infinite;
}

/* Column width definitions */
#lootTable th:nth-child(1), #lootTable td:nth-child(1) { min-width: 200px; width: auto; } /* Item */
#lootTable th:nth-child(2), #lootTable td:nth-child(2) { min-width: 120px; width: auto; } /* From */
#lootTable th:nth-child(3), #lootTable td:nth-child(3) { min-width: 100px; width: auto; } /* Name */
#lootTable th:nth-child(4), #lootTable td:nth-child(4) { min-width: 80px; width: auto; } /* Class */
#lootTable th:nth-child(5), #lootTable td:nth-child(5) { min-width: 80px; width: auto; } /* Spec */
#lootTable th:nth-child(6), #lootTable td:nth-child(6) { min-width: 100px; width: auto; } /* Raid Date */
#lootTable th:nth-child(7), #lootTable td:nth-child(7) { min-width: 80px; width: auto; } /* SR Points */

/* Class View Styles */
.class-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    border-bottom: 2px solid #550000;
    padding-bottom: 4px;
}

.class-tab {
    padding: 8px 16px;
    border: 1px solid #670000;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    background: #001664;
    cursor: pointer;
    color: #ffd700;
}

.class-tab.active {
    background: rgb(138, 2, 2);
    border-bottom: 2px solid #001c6f;
    margin-bottom: -2px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Additional table styles for consistency */
.player-summary-table,
.items-table,
.item-history-table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(20, 20, 20, 0.95);
    border: 1px solid #463225;
}

.player-summary-table th,
.items-table th,
.item-history-table th {
    background: linear-gradient(to bottom, #2b1810 0%, #1a0f0a 100%);
    font-weight: bold;
    color: #ffd700;
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #463225;
}

.player-summary-table td,
.items-table td,
.item-history-table td {
    padding: 8px 12px;
    text-align: left;
    border: 1px solid #463225;
    color: #ffffff;
    background-color: rgba(40, 30, 20, 0.95);
}

/* Table wrapper styles */
.items-table-wrapper,
.item-history-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 8px;
    background-color: rgba(20, 20, 20, 0.95);
    border-radius: 4px;
}

/* Row styles */
.player-row,
.item-row {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-bottom: 1px solid #463225;
}

.player-row:last-child,
.item-row:last-child {
    border-bottom: none;
}

/* Tooltips */
.q3 {
    color: #0070dd !important;
}


#lootTable .item-link {
    cursor: pointer;
    text-decoration: none;
    color: #0070dd !important;
    display: inline;
}

#lootTable .item-link:hover {
    cursor: pointer;
    color: #0088ff !important;
    text-decoration: underline;
    text-shadow: 
        0 0 2px #000,
        0 0 4px #000,
        0 0 6px #000;
}

#lootTable .itemlink-text {
    cursor: pointer;
    text-decoration: none;
    white-space: normal;
}

.notranslate {
    white-space: normal;
}

.loot-history-table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(20, 20, 20, 0.95);
  border: 1px solid #463225;
}

.loot-history-table th {
  background: linear-gradient(to bottom, #2b1810 0%, #1a0f0a 100%);
  color: #ffd700;
  padding: 12px 8px;
  text-align: left;
  border: 1px solid #463225;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.loot-history-table td {
  padding: 8px;
  border: 1px solid #463225;
  color: #ffffff;
  background-color: rgba(40, 30, 20, 0.95);
}

.dropdown-divider {
  height: 1px;
  background-color: #ffd700;
  margin: 4px 0;
  opacity: 0.3;
}

.loot-history-table tr:nth-child(even) td {
  background-color: rgba(45, 35, 25, 0.95);
}

.loot-history-table tr:hover td {
  background-color: rgba(70, 50, 30, 0.95);
}

/* Column widths */
.loot-history-table th:nth-child(1), 
.loot-history-table td:nth-child(1) { width: 100px; } /* Date */
.loot-history-table th:nth-child(2),
.loot-history-table td:nth-child(2) { width: 200px; } /* Item */
.loot-history-table th:nth-child(3),
.loot-history-table td:nth-child(3) { width: 120px; } /* Winner */
.loot-history-table th:nth-child(4),
.loot-history-table td:nth-child(4) { width: 100px; } /* Class */
.loot-history-table th:nth-child(5),
.loot-history-table td:nth-child(5) { width: 100px; } /* Spec */
.loot-history-table th:nth-child(6),
.loot-history-table td:nth-child(6) { width: 80px; } /* SR */
.loot-history-table th:nth-child(7),
.loot-history-table td:nth-child(7) { width: 100px; } /* Type */
.loot-history-table th:nth-child(8),
.loot-history-table td:nth-child(8) { width: 120px; } /* Raid (for full history) */

.raid-select-button {
  background: linear-gradient(to bottom, #1a3063 0%, #0c1b3b 100%);
  color: #ffd700;
  border: 1px solid #ffd700;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  min-width: 180px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
              0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.raid-select-button:hover {
  background: linear-gradient(to bottom, #5a2203 0%, #955123 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1),
              0 4px 8px rgba(0, 0, 0, 0.3);
}

.item-cell {
  position: relative;
}

.item-cell .item-link {
  position: relative;
  z-index: 2;  /* Make link clickable over cell */
}

.member-section {
    display: flex;
    align-items: flex-start;
    background: rgba(20, 20, 20, 0.96);
    border: 1.5px solid #463225;
    border-radius: 12px;
    margin-bottom: 2em;
    box-shadow: 0 0 8px #000a, 0 2px 12px #222a;
    overflow: hidden;
    padding: 0;
    max-width: 100%;
}

.member-text {
    flex: 1;
    padding: 2em 1.5em 2em 2em;
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'LifeCraft', serif;
  letter-spacing: 0.5px;      /* Optional: makes it pop a bit */
  font-weight: normal;        /* LifeCraft looks better not bolded */
  text-shadow: 2px 2px 6px #000;  /* Optional: gives it a WoW-style glow */
}

.member-text h3 {
    font-family: 'LifeCraft', serif;
    margin-top: 0;
    margin-bottom: 0.8em;
    font-size: 2.5em;
    color: #ffd700;
    font-weight: normal; 
    text-align: left;
    text-shadow: 1px 1px 3px #000;
}

.member-text blockquote {
    border-left: 4px solid #ffd700;
    margin: 0;
    padding-left: 1.2em;
    background: rgba(30, 25, 20, 0.05);
    font-size: 1.08em;
    color: #fff7cc;
    font-family: inherit;
    text-shadow: 1px 1px 2px #000a;
}

.member-text p {
    margin: 0 0 1.1em 0;
    line-height: 1.65;
}

.member-text .editor-note {
    color: #ffd700;
    font-style: italic;
    font-family: "Consolas", "Courier New", monospace;
    background: rgba(255, 215, 0, 0.08);
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 4px;
    font-size: 0.98em;
}

.member-screenshot {
    min-width: 200px;
    max-width: 320px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.6em 1.2em;
}

.member-screenshot img {
    width: 100%;
    border: 3px solid #ffd700;
    border-radius: 9px;
    box-shadow: 0 0 16px #000, 0 0 6px #ffd70050 inset;
    background: #222;
    object-fit: cover;
    max-height: 220px;
}

/* Responsive adjustment */
@media (max-width: 900px) {
    .member-section {
        flex-direction: column;
        padding: 0;
    }
    .member-screenshot {
        min-width: 0;
        max-width: 100%;
        padding: 1em 1em 1.6em 1em;
    }
}

