/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Root Variables */
:root { 
    --primary: #d2691e;
    --primary-hover: #ff8c00;
    --primary-glow: rgba(210, 105, 30, 0.2);

    --dark: #f0f0f0;
    --darker: #e8e8e8;
    --card: #f5f5f5;
    --card-hover: #e0e0e0;

    --border: #d2691e;
    --border-light: rgba(210, 105, 30, 0.3);

    --text: #000000;
    --text-muted: #333333;
    --text-light: #000000;

    --accent: #d2691e;
    --accent-hover: #ff8c00;

    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    background-color: var(--darker);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    padding-top: 76px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* Navbar */
.navbar {
    background: #f0f0f0 !important;
    border-bottom: 2px solid var(--border);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.navbar-brand {
    color: #000000 !important;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-brand i {
    color: var(--accent);
}

.nav-link {
    color: #000000 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s;
    margin: 0 0.25rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
    background: rgba(210, 105, 30, 0.15);
}

.navbar-toggler {
    border-color: var(--accent);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d2691e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
}

.btn-success {
    background: #8b4513;
    border-color: #8b4513;
    color: white;
}

.btn-success:hover {
    background: #a0522d;
    border-color: #a0522d;
}

.btn-outline-primary {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-success {
    border: 2px solid #8b4513;
    color: #8b4513;
}

.btn-outline-success:hover {
    background: #8b4513;
    border-color: #8b4513;
    color: white;
}

.btn-outline-secondary {
    border: 2px solid #333;
    color: #333;
}

.btn-outline-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-outline-danger {
    border: 2px solid var(--danger);
    color: var(--danger);
}

.btn-outline-danger:hover {
    background: var(--danger);
    color: white;
}

.btn-outline-light {
    border: 2px solid #333;
    color: #333;
}

.btn-outline-light:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}

/* Text Colors */
.text-white {
    color: #000000 !important;
}

.text-muted {
    color: #333333 !important;
}

.text-success {
    color: #155724 !important;
}

.text-danger {
    color: #721c24 !important;
}

.text-warning {
    color: #856404 !important;
}

.text-primary {
    color: #8b4513 !important;
}

.text-secondary {
    color: #333333 !important;
}

.text-info {
    color: #0c5460 !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.15) 0%, #f0f0f0 50%, rgba(210, 105, 30, 0.1) 100%);
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--border);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(210, 105, 30, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section h1 {
    color: #000000;
}

.search-box {
    display: flex;
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.search-box input {
    background: transparent;
    border: none;
    color: #000000;
    padding: 0.75rem 1rem;
    flex: 1;
}

.search-box input:focus {
    outline: none;
    box-shadow: none;
    color: #000000;
}

.search-box input::placeholder {
    color: #555;
}

.search-icon {
    color: var(--accent);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
    line-height: 1;
}

.stat-label {
    color: #333333;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    color: #000000;
}

/* Server Grid */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.server-card {
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.server-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-hover);
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.25);
}

.server-card.featured {
    border-top: 4px solid var(--accent);
}

.server-banner {
    height: 120px;
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    position: relative;
}

.server-status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(40, 167, 69, 0.2);
    color: #155724;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--success);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.premium-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #cd853f, #d2691e);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.server-content {
    padding: 1.5rem;
}

.server-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #000000;
}

.server-stats-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.server-stats-row .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    font-size: 0.875rem;
}

.population-bar {
    margin-bottom: 1rem;
}

.population-bar .progress {
    height: 6px;
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}

.server-description {
    color: #333333;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.server-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.server-author {
    display: flex;
    align-items: center;
}

.server-author span {
    color: #000000;
}

/* Server List */
.server-list {
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.server-list-item {
    display: grid;
    grid-template-columns: 60px 1fr 100px auto;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}

.server-list-item:hover {
    background: #e8e8e8;
}

.server-list-item:last-child {
    border-bottom: none;
}

.server-rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.7;
}

.server-info h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #000000;
}

.server-meta {
    display: flex;
    gap: 1rem;
}

.pop-count {
    font-size: 1.25rem;
    font-weight: 700;
    color: #155724;
    display: block;
}

/* LFG Stack */
.lfg-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lfg-card {
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.lfg-card:hover {
    border-color: var(--accent-hover);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(210, 105, 30, 0.15);
}

.lfg-type {
    font-weight: 700;
    color: var(--accent);
}

.lfg-size {
    color: #333333;
    font-size: 0.875rem;
}

.lfg-desc {
    margin: 0.5rem 0;
    color: #333333;
}

.lfg-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.role-badge {
    background: rgba(210, 105, 30, 0.2);
    color: #8b4513;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(210, 105, 30, 0.15) 0%, #f0f0f0 100%);
    padding: 4rem 0;
    margin-top: 4rem;
    text-align: center;
    border-top: 2px solid var(--border);
}

.cta-section h2 {
    color: #000000;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem;
    background: #f5f5f5;
    border: 2px dashed var(--border);
    border-radius: 16px;
    color: #333333;
}

.empty-state h3, .empty-state h4 {
    color: #000000;
}

.empty-state.large {
    padding: 6rem 2rem;
}

/* Tags */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 0.5rem;
    border: 1px solid;
}

.tag-gather {
    background: rgba(210, 105, 30, 0.15);
    color: #8b4513;
    border-color: var(--border);
}

.tag-players {
    background: rgba(40, 167, 69, 0.15);
    color: #155724;
    border-color: var(--success);
}

.tag-wipe {
    background: rgba(0,0,0,0.08);
    color: #333333;
    border-color: #666;
}

/* Server Detail Page */
.server-detail-header {
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.server-detail-header h1 {
    color: #000000;
}

.status-indicator {
    width: 20px;
    height: 20px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
}

.status-indicator .pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.server-tags-large .badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.stat-box {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #000000;
}

.stat-label {
    color: #333333;
    font-size: 0.875rem;
}

.server-specs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    color: #000000;
}

.server-specs li:last-child {
    border-bottom: none;
}

.connection-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Page Header */
.page-header {
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.page-title {
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #000000;
}

/* Filter Bar */
.filter-bar {
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Cards - Base Styles */
.card {
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card-header {
    background: rgba(210, 105, 30, 0.1);
    border-bottom: 2px solid var(--border);
    padding: 1.25rem;
    font-weight: 600;
    color: #000000;
}

/* Premium/Benefits Card Specific Styles */
.card.border-warning {
    background: #f5f5f5;
    border-color: #d2691e;
}

.card.border-warning .card-header {
    background: rgba(210, 105, 30, 0.2);
    border-bottom-color: #d2691e;
}

.card.border-warning .card-header h5,
.card.border-warning .card-header i {
    color: #000000;
}

.card.border-warning .card-body {
    background: #f5f5f5;
    color: #000000;
}

.card.border-warning .card-body p,
.card.border-warning .card-body strong {
    color: #000000;
}

/* Preserve badge colors in premium cards */
.card.border-warning .badge {
    color: inherit;
}

.card.border-warning .badge.bg-success {
    background-color: #28a745 !important;
    color: #ffffff !important;
}

.card.border-warning .badge.bg-primary {
    background-color: #d2691e !important;
    color: #ffffff !important;
}

.card.border-warning .badge.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.card.border-warning .badge.bg-warning {
    background-color: #ffc107 !important;
    color: #000000 !important;
}

.card.border-warning .badge.bg-info {
    background-color: #17a2b8 !important;
    color: #ffffff !important;
}

.card.border-warning .badge.bg-secondary {
    background-color: #6c757d !important;
    color: #ffffff !important;
}

/* Forms */
.form-control, .form-select {
    background: #f5f5f5;
    border: 2px solid var(--border);
    color: #000000;
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.form-control:focus, .form-select:focus {
    background: #ffffff;
    border-color: var(--accent-hover);
    color: #000000;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.2);
}

.form-control::placeholder {
    color: #555;
}

.form-label {
    color: #000000;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #f0f0f0;
    border-top: 2px solid var(--border);
    margin-top: auto;
    color: #000000;
}

.footer h5, .footer h6 {
    color: #000000 !important;
}

.hover-primary:hover {
    color: var(--accent-hover) !important;
}

/* Premium Badge */
.badge-premium {
    background: linear-gradient(45deg, #cd853f, #d2691e);
    color: white;
    font-weight: 700;
}

/* Pagination */
.page-link {
    background: #f5f5f5;
    border-color: var(--border);
    color: #000000;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px !important;
    border-width: 2px;
}

.page-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #e8e8e8;
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* Responsive */
@media (max-width: 768px) {
    .stats-bar {
        gap: 2rem;
    }

    .server-grid {
        grid-template-columns: 1fr;
    }

    .server-list-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Form Check Cards */
.card-check {
    background: #f5f5f5;
    border: 2px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 0;
}

.card-check:hover {
    background: rgba(210, 105, 30, 0.1);
    border-color: var(--accent) !important;
}

.card-check .form-check-input {
    margin-top: 0.3rem;
    border-color: var(--accent);
}

.card-check .form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent);
}

.card-check .form-check-label {
    cursor: pointer;
    color: #000000;
}

.card-check .form-check-input:checked + .form-check-label {
    color: var(--accent);
}

.card-check:has(.form-check-input:checked) {
    background: rgba(210, 105, 30, 0.15);
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 1px var(--accent);
}

/* Input Groups */
.input-group-text {
    color: var(--accent);
    background: rgba(210, 105, 30, 0.15);
    border-color: var(--border);
    border-width: 2px;
}

/* Form Text */
.form-text {
    color: #333333;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Number Inputs */
input[type="number"] {
    appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    appearance: inner-spin-button;
    opacity: 1;
    background: var(--accent);
}

/* Card Headers with Colors */
.card-header.bg-success {
    background: rgba(40, 167, 69, 0.15) !important;
    border-bottom-color: var(--success);
}

.card-header.bg-success h4 {
    color: #155724;
}

.card-header.bg-primary {
    background: rgba(210, 105, 30, 0.15) !important;
    border-bottom-color: var(--accent);
}

.card-header.bg-primary h4, .card-header.bg-primary h5 {
    color: #000000;
}

/* Alerts */
.alert {
    background: #f5f5f5;
    border: 2px solid;
    border-left: 4px solid;
    color: #000000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.alert-success {
    border-color: var(--success);
    border-left-color: var(--success);
}

.alert-danger {
    border-color: var(--danger);
    border-left-color: var(--danger);
}

.alert-warning {
    border-color: var(--warning);
    border-left-color: var(--warning);
}

.alert-info {
    border-color: var(--accent);
    border-left-color: var(--accent);
}

/* Tables */
.table, .table-dark {
    color: #000000;
    background: #f5f5f5;
}

.table-dark th {
    color: #000000;
    background: rgba(210, 105, 30, 0.15);
    border-color: var(--border);
}

.table-dark td {
    border-color: var(--border);
}

/* Dropdown Menu */
.dropdown-menu, .dropdown-menu-dark {
    background: #f5f5f5;
    border: 2px solid var(--border);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.dropdown-item {
    color: #000000;
}

.dropdown-item:hover {
    background: rgba(210, 105, 30, 0.15);
    color: var(--accent);
}

.dropdown-divider {
    border-color: var(--border);
}

/* List Groups */
.list-group-item {
    background: #f5f5f5;
    border-color: var(--border);
    color: #000000;
}

/* Code */
code {
    color: var(--accent);
    background: rgba(210, 105, 30, 0.15);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

/* Progress Bars */
.progress {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}

.progress-bar {
    background: var(--accent);
}

/* Badges - Global Styles */
.badge {
    font-weight: 600;
}

.badge.bg-secondary {
    background: #6c757d !important;
    color: #ffffff !important;
}

.badge.bg-dark {
    background: #343a40 !important;
    color: #ffffff !important;
}

.badge.bg-success {
    background: #28a745 !important;
    color: #ffffff !important;
}

.badge.bg-danger {
    background: #dc3545 !important;
    color: #ffffff !important;
}

.badge.bg-warning {
    background: #ffc107 !important;
    color: #000000 !important;
}

.badge.bg-info {
    background: #17a2b8 !important;
    color: #ffffff !important;
}

.badge.bg-primary {
    background: #d2691e !important;
    color: #ffffff !important;
}

/* Connection Box Code */
.connection-box code {
    color: #155724;
    background: rgba(40, 167, 69, 0.15);
}

/* Dropdown Menus */
.dropdown-menu-dark {
    background: #f5f5f5;
    border: 2px solid var(--accent);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: #000000;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.dropdown-item:hover {
    background: rgba(210, 105, 30, 0.15);
    color: var(--accent);
    transform: translateX(5px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

.dropdown-divider {
    border-color: var(--border);
    margin: 0.5rem;
}

/* Dropdown Toggle Arrow */
.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
    border-top-color: var(--accent);
}

/* Post Dropdown Specific */
#postDropdown + .dropdown-menu {
    min-width: 250px;
}

#postDropdown + .dropdown-menu .dropdown-item div {
    display: inline-block;
    vertical-align: middle;
}

/* User Dropdown Specific */
#userDropdown + .dropdown-menu {
    min-width: 220px;
}

#userDropdown img {
    border: 2px solid var(--accent);
}

/* Notification Badges in Dropdown */
.dropdown-item .badge {
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
}

/* Navbar Dropdown Hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.nav-item.dropdown {
    position: relative;
}

/* Small text muted fix */
small.text-muted {
    color: #333333 !important;
}

/* Form select options */
.form-select option {
    background: #f5f5f5;
    color: #000000;
}

/* Close button for alerts */
.btn-close {
    filter: none !important;
    opacity: 0.7;
}

.btn-close:hover {
    opacity: 1;
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-hover);
}

/* Breadcrumbs */
.breadcrumb-item.active {
    color: #333333;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--accent);
}

/* ============================================
   GLOBAL FIXES - FORCE LIGHT BACKGROUNDS
   ============================================ */

*, *::before, *::after {
    color-scheme: light !important;
}

.bg-dark, .bg-black, .bg-secondary {
    background-color: #f0f0f0 !important;
    color: #000000 !important;
}

[data-bs-theme="dark"] {
    background-color: #e8e8e8 !important;
    color: #000000 !important;
}

[data-bs-theme="dark"] .navbar,
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .dropdown-menu {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bs-body-bg: #e8e8e8 !important;
        --bs-body-color: #000000 !important;
    }

    body, html {
        background-color: #e8e8e8 !important;
        color: #000000 !important;
    }

    .navbar, .card, .dropdown-menu, .modal-content {
        background-color: #f5f5f5 !important;
        color: #000000 !important;
    }
}

[style*="background: #000"], [style*="background-color: #000"],
[style*="background: rgb(0, 0, 0)"], [style*="background-color: rgb(0, 0, 0)"] {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
}
display-6,
.lead, .blockquote, .blockquote-footer,
pre, code, kbd, samp,
.figure, .figcaption,
.caption, .summary, .details,
legend, fieldset,
.progress, .progress-bar,
.tooltip, .tooltip-inner,
.popover, .popover-header, .popover-body,
.spinner-border, .spinner-grow,
.placeholder,
.toast-body,
.modal-title,
.accordion-header, .accordion-body,
.list-group-item-action,
.nav-tabs .nav-link,
.navbar-text,
.breadcrumb-item.active,
.page-link, .page-item,
.form-check-label,
.input-group-text,
.dropdown-header,
.dropdown-item-text {
    color: #000000 !important;
}

/* Specific overrides for colored text classes */
.text-success { color: #155724 !important; }
.text-danger { color: #721c24 !important; }
.text-warning { color: #856404 !important; }
.text-info { color: #0c5460 !important; }
.text-primary { color: #8b4513 !important; }
.text-muted { color: #333333 !important; }
.text-white { color: #000000 !important; }
.text-secondary { color: #333333 !important; }

/* Ensure links are visible but still black/dark */
a, a:visited, a:hover, a:focus, a:active,
.nav-link, .navbar-brand, .dropdown-item,
.page-link, .breadcrumb-item a,
.list-group-item-action,
.btn-link {
    color: #000000 !important;
}

a:hover, .nav-link:hover, .navbar-brand:hover, .dropdown-item:hover,
.page-link:hover, .breadcrumb-item a:hover,
.list-group-item-action:hover,
.btn-link:hover {
    color: #8b4513 !important;
}

/* Buttons with white text should be black */
.btn-primary, .btn-success, .btn-danger, .btn-warning,
.badge.bg-primary, .badge.bg-success, .badge.bg-danger,
.badge.bg-warning, .badge.bg-info {
    color: #000000 !important;
}

/* Keep white text on orange/brown buttons for contrast, but make it black if needed */
.btn-primary {
    color: #ffffff !important;
}

/* Override any inline color styles */
[style*="color: #fff"], [style*="color:#fff"],
[style*="color: white"], [style*="color:white"],
[style*="color: rgb(255, 255, 255)"], [style*="color:rgb(255, 255, 255)"] {
    color: #000000 !important;
}

/* Fix for specific Bootstrap text utilities */
.text-body { color: #000000 !important; }
.text-reset { color: #000000 !important; }

/* Ensure all headings are black */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #000000 !important;
}

/* Fix for labels and legends */
label, legend {
    color: #000000 !important;
}

/* Fix for form elements */
::placeholder {
    color: #555555 !important;
}

/* Fix for selected text */
::selection {
    background: rgba(210, 105, 30, 0.3);
    color: #000000;
}

/* ============================================
   FIX FOR BENEFITS BOXES - WHITE TEXT ON WHITE BACKGROUND
   ============================================ */

/* Target benefits/premium info cards specifically */
.card.border-warning,
.card.mb-4.border-warning,
.card .card-header.bg-warning,
.card .card-header.bg-success,
.card .card-header.bg-primary,
.card .card-header.bg-danger,
.card .card-header.bg-info {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
    border-color: #d2691e !important;
}

.card.border-warning .card-header,
.card.mb-4.border-warning .card-header,
.card.border-warning .card-body,
.card.mb-4.border-warning .card-body,
.card.border-warning p,
.card.mb-4.border-warning p,
.card.border-warning strong,
.card.mb-4.border-warning strong {
    background-color: #f5f5f5 !important;
    color: #000000 !important;
}

/* Fix for bg-warning text (was white on white) */
.card-header.bg-warning,
.card-header.bg-warning h5,
.card-header.bg-warning h4,
.card-header.bg-warning h3,
.card-header.bg-warning p,
.card-header.bg-warning span,
.card-header.bg-warning strong,
.card-header.bg-warning div {
    background-color: rgba(210, 105, 30, 0.2) !important;
    color: #000000 !important;
}

/* Fix for premium status card specifically */
.card.mb-4.border-warning .card-header.bg-warning.text-dark,
.card.mb-4.border-warning .card-header.bg-warning {
    background-color: rgba(210, 105, 30, 0.2) !important;
    color: #000000 !important;
}

.card.mb-4.border-warning .card-header.bg-warning i,
.card.mb-4.border-warning .card-header.bg-warning h5 {
    color: #000000 !important;
}

.card.mb-4.border-warning .card-body p,
.card.mb-4.border-warning .card-body strong,
.card.mb-4.border-warning .card-body span,
.card.mb-4.border-warning .card-body div {
    color: #000000 !important;
}

/* Fix for any card with bg-* classes in header */
.card .card-header[class*="bg-"] {
    background-color: rgba(210, 105, 30, 0.15) !important;
    color: #000000 !important;
    border-bottom: 2px solid #d2691e !important;
}

.card .card-header[class*="bg-"] * {
    color: #000000 !important;
}

/* Fix for badge bg-success in premium cards */
.card .badge.bg-success {
    background-color: rgba(40, 167, 69, 0.2) !important;
    color: #155724 !important;
    border: 1px solid #28a745;
}

/* Target specific benefits text that might be white */
.card-body p strong,
.card-body p span,
.card-body p,
.card-body div,
.card-body span,
.card-body strong {
    color: #000000 !important;
}

/* Fix for any text-white class inside cards */
.card .text-white,
.card .text-white *,
.card-header .text-white,
.card-header .text-white *,
.card-body .text-white,
.card-body .text-white * {
    color: #000000 !important;
}

/* Fix for premium/benefits specific content */
.card:has(.fa-crown) .card-header,
.card:has(.fa-crown) .card-body,
.card:has(.fa-crown) p,
.card:has(.fa-crown) strong,
.card:has(.fa-crown) span,
.card:has(.badge.bg-success) .card-body,
.card:has(.badge.bg-success) p,
.card:has(.badge.bg-success) strong {
    color: #000000 !important;
}

/* Ensure all card content is visible */
.card * {
    color: #000000 !important;
}

/* But keep badges with their colors */
.card .badge {
    color: inherit !important;
}

.card .badge.bg-success {
    color: #155724 !important;
}

.card .badge.bg-danger {
    color: #721c24 !important;
}

.card .badge.bg-warning {
    color: #856404 !important;
}

.card .badge.bg-info {
    color: #0c5460 !important;
}

.card .badge.bg-primary {
    color: #ffffff !important;
}

.card .badge.bg-secondary {
    color: #000000 !important;
}

/* Fix for tier/expires text in premium cards */
.card-body p:contains("Tier:"),
.card-body p:contains("Since:"),
.card-body p:contains("Expires:"),
.card-body strong:contains("Tier"),
.card-body strong:contains("Since"),
.card-body strong:contains("Expires") {
    color: #000000 !important;
}

/* Fix for any inline styles in cards */
.card [style*="color"],
.card-header [style*="color"],
.card-body [style*="color"] {
    color: #000000 !important;
}

/* Monthly Card - Brown */
.card:has(.card-header:contains("Monthly")),
.card .card-header h4:contains("Monthly"),
.card .card-header h5:contains("Monthly"),
.card:has(h4:contains("Monthly")),
.card:has(h5:contains("Monthly")),
.pricing-card.monthly,
.card.monthly {
    border-color: #8b4513 !important;
}

.card:has(.card-header:contains("Monthly")) .card-header,
.card:has(h4:contains("Monthly")) .card-header,
.card:has(h5:contains("Monthly")) .card-header,

.card:has(.card-header:contains("Monthly")) .card-header h4,
.card:has(.card-header:contains("Monthly")) .card-header h5,
.card:has(h4:contains("Monthly")) .card-header,
.card:has(h5:contains("Monthly")) .card-header,

.card:has(.card-header:contains("Monthly")) .btn,
.card:has(h4:contains("Monthly")) .btn,
.pricing-card.monthly .btn,
.card.monthly .btn {
    background: #8b4513 !important;
    border-color: #8b4513 !important;
    color: #ffffff !important;
}

.card:has(.card-header:contains("Monthly")) .btn:hover,
.pricing-card.monthly .btn:hover,
.card.monthly .btn:hover {
    background: #a0522d !important;
    border-color: #a0522d !important;
}

/* Yearly Card - Green */
.card:has(.card-header:contains("Yearly")),
.card .card-header h4:contains("Yearly"),
.card .card-header h5:contains("Yearly"),
.card:has(h4:contains("Yearly")),
.card:has(h5:contains("Yearly")),
.pricing-card.yearly,
.card.yearly {
    border-color: #28a745 !important;
}

.card:has(.card-header:contains("Yearly")) .card-header,
.card:has(h4:contains("Yearly")) .card-header,
.card:has(h5:contains("Yearly")) .card-header,

.card:has(.card-header:contains("Yearly")) .card-header h4,
.card:has(.card-header:contains("Yearly")) .card-header h5,
.card:has(h4:contains("Yearly")) .card-header,
.card:has(h5:contains("Yearly")) .card-header,

.card:has(.card-header:contains("Yearly")) .btn,
.card:has(h4:contains("Yearly")) .btn,
.pricing-card.yearly .btn,
.card.yearly .btn {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.card:has(.card-header:contains("Yearly")) .btn:hover,
.pricing-card.yearly .btn:hover,
.card.yearly .btn:hover {
    background: #218838 !important;
    border-color: #218838 !important;
}

/* Lifetime Card - Gold */
.card:has(.card-header:contains("Lifetime")),
.card .card-header h4:contains("Lifetime"),
.card .card-header h5:contains("Lifetime"),
.card:has(h4:contains("Lifetime")),
.card:has(h5:contains("Lifetime")),
.pricing-card.lifetime,
.card.lifetime {
    border-color: #ffc107 !important;
}

.card:has(.card-header:contains("Lifetime")) .card-header,
.card:has(h4:contains("Lifetime")) .card-header,
.card:has(h5:contains("Lifetime")) .card-header,

.card:has(.card-header:contains("Lifetime")) .card-header h4,
.card:has(.card-header:contains("Lifetime")) .card-header h5,
.card:has(h4:contains("Lifetime")) .card-header,
.card:has(h5:contains("Lifetime")) .card-header,

.card:has(.card-header:contains("Lifetime")) .btn,
.card:has(h4:contains("Lifetime")) .btn,
.pricing-card.lifetime .btn,
.card.lifetime .btn {
    background: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
}

.card:has(.card-header:contains("Lifetime")) .btn:hover,
.pricing-card.lifetime .btn:hover,
.card.lifetime .btn:hover {
    background: #e0a800 !important;
    border-color: #e0a800 !important;
    color: #000000 !important;
}

/* Alternative: Use nth-child if cards are in a row */
.pricing-row .card:nth-child(1),
.pricing-cards .card:nth-child(1) {
    border-color: #8b4513 !important;
}

.pricing-row .card:nth-child(1) .card-header,
.pricing-cards .card:nth-child(1) .card-header {
    background: rgba(139, 69, 19, 0.2) !important;
    border-bottom-color: #8b4513 !important;
}

.pricing-row .card:nth-child(1) .btn,
.pricing-cards .card:nth-child(1) .btn {
    background: #8b4513 !important;
    border-color: #8b4513 !important;
    color: #ffffff !important;
}

.pricing-row .card:nth-child(2),
.pricing-cards .card:nth-child(2) {
    border-color: #28a745 !important;
}

.pricing-row .card:nth-child(2) .card-header,
.pricing-cards .card:nth-child(2) .card-header {
    background: rgba(40, 167, 69, 0.2) !important;
    border-bottom-color: #28a745 !important;
}

.pricing-row .card:nth-child(2) .btn,
.pricing-cards .card:nth-child(2) .btn {
    background: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.pricing-row .card:nth-child(3),
.pricing-cards .card:nth-child(3) {
    border-color: #ffc107 !important;
}

.pricing-row .card:nth-child(3) .card-header,
.pricing-cards .card:nth-child(3) .card-header {
    background: rgba(255, 193, 7, 0.3) !important;
    border-bottom-color: #ffc107 !important;
}

.pricing-row .card:nth-child(3) .btn,
.pricing-cards .card:nth-child(3) .btn {
    background: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
}

/* ============================================
   BENEFITS CARD
   ============================================ */

.benefits-card {
    background: #f5f5f5 !important;
    border: 2px solid #d2691e !important;
}

.benefits-card .card-body {
    background: #f5f5f5 !important;
    color: #000000 !important;
}

.benefits-card .card-title {
    color: #000000 !important;
}

.benefits-card pre {
    color: #000000 !important;
    background: transparent !important;
}

.pricing-card {
    background: #f5f5f5 !important;
    border-width: 3px !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pricing-card .card-header {
    padding: 1rem 1rem 1.5rem 1rem;
    border-bottom-width: 3px;
    position: relative;
}

.pricing-card .crown-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.pricing-card .card-header h4 {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.pricing-card .card-body {
    background: #f5f5f5 !important;
    padding: 2rem 1.5rem;
}

.pricing-card .pricing-card-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 1.5rem;
}

.pricing-card .pricing-card-title small {
    font-size: 1rem;
    color: #333333;
    font-weight: 500;
}

.pricing-card ul li {
    padding: 0.5rem 0;
    color: #000000;
    font-size: 1rem;
}

.pricing-card .btn {
    font-weight: 700;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.pricing-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.pricing-card .save-badge {
    background: #000000 !important;
    color: #ffffff !important;
    font-size: 0.75rem;
    padding: 0.35em 0.65em;
    margin-left: 0.5rem;
    vertical-align: middle;
    border-radius: 4px;
}

/* Monthly - Brown */

.pricing-card.monthly .crown-icon {
    color: #d2691e !important;
}

.pricing-card.monthly .btn {
    background: #8b4513 !important;
    color: #ffffff !important;
}

.pricing-card.monthly .btn:hover {
    background: #a0522d !important;
}

/* Yearly - Green */

.pricing-card.yearly .crown-icon {
    color: #20c997 !important;
}

.pricing-card.yearly .btn {
    background: #28a745 !important;
    color: #ffffff !important;
}

.pricing-card.yearly .btn:hover {
    background: #218838 !important;
}

/* Lifetime - Gold */

.pricing-card.lifetime .crown-icon {
    color: #ff8c00 !important;
}

.pricing-card.lifetime .btn {
    background: #ffc107 !important;
    color: #000000 !important;
}

.pricing-card.lifetime .btn:hover {
    background: #e0a800 !important;
}

/* Ensure colors always show - override any Bootstrap */
.pricing-card.monthly,
.pricing-card.yearly,

.pricing-card.monthly .crown-icon,
.pricing-card.yearly .crown-icon,
.pricing-card.lifetime .crown-icon {
    display: block !important;
    visibility: visible !important;
}

/* ============================================

.pricing-row {
    display: flex;
    align-items: stretch;
}

.pricing-row .col-md-4 {
    display: flex;
}

.pricing-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pricing-card ul {
    flex-grow: 1;
    margin-bottom: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ============================================

.pricing-row {
    display: flex;
    align-items: stretch !important;
}

.pricing-row .col-md-4 {
    display: flex;
}

.pricing-card .card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pricing-card .btn {
    width: 100%;
    display: block;
}

.pricing-card .save-badge,
.pricing-card .badge.save-badge,
.pricing-card .badge.bg-dark,
.pricing-card.yearly .save-badge,
.pricing-card.yearly .badge {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.4em 0.8em;
    border-radius: 4px;
    margin-left: 0.5rem;
}

/* Alternative: Make it stand out more with border */
.pricing-card .badge {
    border: 2px solid transparent;
}

.pricing-card.yearly .badge.save-badge {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff;
}

.pricing-row {
    display: flex !important;
    align-items: stretch !important;
}

.pricing-row > .col-md-4 {
    display: flex !important;
    margin-bottom: 0;
}

.pricing-card .card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

.pricing-card .btn {
    width: 100%;
    display: block;
}

/* Ensure consistent card height */
.pricing-card {
    min-height: 100%;
}

/* Fix for card header height consistency */
.pricing-card .card-header {
    flex-shrink: 0 !important;
}

/* Force pricing row to use flex */
.pricing-row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch !important;
}

.pricing-row > [class*="col-"] {
    display: flex !important;
    flex-direction: column;
}

/* Card structure for alignment */

.pricing-card .card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* List takes up available space, pushing button down */

/* Form stays at bottom */

/* ============================================
   HEADER COLORS - Monthly/Yearly/Lifetime
   ============================================ */

/* Monthly - Brown */
.pricing-card.monthly .card-header {
    background-color: #8b4513 !important;
    border-bottom-color: #8b4513 !important;
}

.pricing-card.monthly .card-header h4 {
    color: #ffffff !important;
}

.pricing-card.monthly .crown-icon {
    color: #d2691e !important;
}

/* Yearly - Green */
.pricing-card.yearly .card-header {
    background-color: #28a745 !important;
    border-bottom-color: #28a745 !important;
}

.pricing-card.yearly .card-header h4 {
    color: #ffffff !important;
}

.pricing-card.yearly .crown-icon {
    color: #20c997 !important;
}

/* Lifetime - Gold */
.pricing-card.lifetime .card-header {
    background-color: #ffc107 !important;
    border-bottom-color: #ffc107 !important;
}

.pricing-card.lifetime .card-header h4 {
    color: #000000 !important;
}

.pricing-card.lifetime .crown-icon {
    color: #ff8c00 !important;
}

/* Button colors to match */
.pricing-card.monthly .btn {
    background-color: #8b4513 !important;
    border-color: #8b4513 !important;
    color: #ffffff !important;
}

.pricing-card.yearly .btn {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.pricing-card.lifetime .btn {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
}

/* Border colors */
.pricing-card.monthly {
    border-color: #8b4513 !important;
}

.pricing-card.yearly {
    border-color: #28a745 !important;
}

.pricing-card.lifetime {
    border-color: #ffc107 !important;
}


/* ============================================
   FIXED HEIGHT CARDS - BUTTONS AT BOTTOM
   ============================================ */

.pricing-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.pricing-row > [class*="col-"] {
    display: flex;
}

.pricing-card {
    width: 100%;
    min-height: 500px;  /* Fixed minimum height */
    position: relative;  /* For absolute positioning of button */
    padding-bottom: 80px;  /* Space for button at bottom */
    display: block;  /* Remove flex */
}

.pricing-card .card-body {
    display: block;  /* Remove flex */
    padding-bottom: 20px;
}

.pricing-card ul.list-unstyled {
    margin-bottom: 20px;
}

/* Button always at bottom */
.pricing-card form {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    margin: 0;
}

.pricing-card .btn {
    width: 100%;
    display: block;
}

/* Ensure consistent spacing */
.pricing-card .pricing-card-title {
    margin-bottom: 1.5rem;
}

.pricing-card ul li {
    padding: 0.4rem 0;
}

/* Pricing Row - Flexbox for equal height */
.pricing-row {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch !important;
}

.pricing-row > [class*="col-"] {
    display: flex !important;
    flex-direction: column;
}

/* Pricing Card - Flex column layout */
.pricing-card {
    display: flex !important;
    flex-direction: column !important;
    flex: 1;
    width: 100%;
}

.pricing-card .card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* List grows to fill space, pushing button down */
.pricing-card ul {
    flex-grow: 1 !important;
    margin-bottom: 1.5rem;
}

/* Button stays at bottom */
.pricing-card form {
    margin-top: auto;
    flex-shrink: 0;
}

/* LFG Card Large - Grid View Cards */
.lfg-card-large {
    background: #f5f5f5;
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lfg-card-large:hover {
    border-color: var(--accent-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(210, 105, 30, 0.25);
}

.lfg-card-large .lfg-header {
    padding: 1.25rem 1.25rem 0.75rem;
    background: rgba(210, 105, 30, 0.05);
    border-bottom: 1px solid var(--border);
}

.lfg-card-large .lfg-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.lfg-card-large .lfg-footer {
    padding: 1rem 1.25rem 1.25rem;
    margin-top: auto;
}

.lfg-card-large .role-tag-large {
    background: rgba(210, 105, 30, 0.2);
    color: #8b4513;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    display: inline-block;
    margin: 0.25rem;
}

.lfg-card-large .lfg-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.lfg-card-large .lfg-server-type {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lfg-card-large .lfg-team-size {
    color: #333333;
    font-size: 0.875rem;
    font-weight: 500;
}

.lfg-card-large h5 {
    color: #000000;
    font-weight: 700;
}

/* ============================================
   SERVER CARD SPACING FIXES
   ============================================ */

/* Main card - add subtle inner padding so content doesn't touch border */
.server-card {
    padding: 4px;  /* Creates gap between orange border and content */
}

/* Server header - more breathing room */
.server-header {
    padding: 1.25rem;
    margin: 0 4px;  /* Keep away from card edge */
    background: rgba(210, 105, 30, 0.03);
    border-radius: 12px 12px 0 0;
}

/* Server body - consistent spacing */
.server-body {
    padding: 1.25rem;
    margin: 0 4px;
}

/* Server footer - spacing from border */
.server-footer {
    padding: 1rem 1.25rem;
    margin: 0 4px 4px 4px;  /* Bottom margin too */
    background: rgba(0,0,0,0.02);
    border-radius: 0 0 12px 12px;
}

/* Tags need margin so they don't touch */
.tag {
    margin: 2px;
    padding: 0.35rem 0.85rem;
}

/* Server name needs right padding if premium badge exists */
.server-header .server-name {
    padding-right: 0.5rem;
}

/* Status badge - keep from edge */
.server-status {
    margin: 4px;
}

/* LFG cards too */
.lfg-card {
    padding: 1.5rem;
    margin: 0.5rem;
}

/* Role badges spacing */
.role-badge {
    margin: 0.25rem;
    display: inline-block;
}

/* ============================================
   USER MANAGEMENT / TABLE CARD SPACING FIXES
   ============================================ */

/* Increase card body padding */
.card .card-body {
    padding: 1.5rem;
}

/* Increase table cell padding */
.table-dark th,
.table-dark td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}

/* Extra padding on first/last cells to prevent edge touching */
.table-dark th:first-child,
.table-dark td:first-child {
    padding-left: 1.5rem;
}

.table-dark th:last-child,
.table-dark td:last-child {
    padding-right: 1.5rem;
}

/* Enhance table header */
.table-dark thead th {
    background: rgba(210, 105, 30, 0.15) !important;
    border-bottom: 2px solid var(--border);
    font-weight: 600;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

/* Subtle row separators */
.table-dark tbody tr {
    border-bottom: 1px solid var(--border-light);
}

/* Better code display */
.table-dark td code {
    background: rgba(0,0,0,0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* ============================================
   FORCE TABLE TO LIGHT THEME (WHITE/GRAY)
   ============================================ */

/* Override table-dark to be light */
.table-dark {
    color: #000000 !important;
    background-color: #f5f5f5 !important;
    border-color: var(--border) !important;
}

/* Table header - light orange tint */
.table-dark thead th {
    color: #000000 !important;
    background-color: rgba(210, 105, 30, 0.1) !important;
    border-bottom: 2px solid var(--border) !important;
}

/* Table body cells - light background */
.table-dark tbody td {
    color: #000000 !important;
    background-color: #f5f5f5 !important;
    border-color: var(--border-light) !important;
}

/* Table rows - alternate slightly for readability */
.table-dark tbody tr:nth-child(even) {
    background-color: #fafafa !important;
}

/* Code elements - light background */
.table-dark td code {
    color: #8b4513 !important;
    background-color: rgba(210, 105, 30, 0.1) !important;
}