/* Valheim Item Guide - Main CSS */

:root {
    --valheim-gold: #D4AF37;
    --valheim-brown: #8B4513;
    --valheim-dark: #2C1810;
    --valheim-light: #F5E6D3;
    --valheim-blue: #4682B4;
}

/* Global Styles */
body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--valheim-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main content wrapper to push footer down */
.main-content {
    flex: 1;
}

/* Navigation */
.navbar {
    background: linear-gradient(45deg, var(--valheim-dark), var(--valheim-brown)) !important;
    border-bottom: 3px solid var(--valheim-gold);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar-brand {
    color: var(--valheim-gold) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--valheim-light) !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--valheim-gold) !important;
    text-shadow: 0 0 5px var(--valheim-gold);
}

/* Dropdown Menu */
.dropdown-menu {
    background: rgba(44, 24, 16, 0.95) !important;
    border: 2px solid var(--valheim-gold) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
}

.dropdown-item {
    color: var(--valheim-light) !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
    background: linear-gradient(45deg, var(--valheim-brown), var(--valheim-gold)) !important;
    color: var(--valheim-light) !important;
}

.dropdown-divider {
    border-color: var(--valheim-gold) !important;
}

/* Cards */
.card {
    background: rgba(44, 24, 16, 0.9);
    border: 2px solid var(--valheim-gold);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.card-header {
    background: linear-gradient(45deg, var(--valheim-brown), var(--valheim-gold));
    color: var(--valheim-light);
    font-weight: bold;
    border-bottom: 2px solid var(--valheim-gold);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.card-body {
    color: var(--valheim-light) !important;
}

.card-body p, .card-body span, .card-body div, .card-body h5, .card-body h6, .card-body label {
    color: var(--valheim-light) !important;
}

.card-body h1, .card-body h2, .card-body h3, .card-body h4, .card-body h5, .card-body h6 {
    color: var(--valheim-gold) !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.card-body .text-muted {
    color: rgba(245, 230, 211, 0.8) !important;
}

.card-body small {
    color: rgba(245, 230, 211, 0.9) !important;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--valheim-blue), var(--valheim-gold));
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.btn-success {
    background: linear-gradient(45deg, #228B22, var(--valheim-gold));
    border: none;
}

.btn-warning {
    background: linear-gradient(45deg, #FF8C00, var(--valheim-gold));
    border: none;
    color: var(--valheim-light);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.btn-danger {
    background: linear-gradient(45deg, #DC143C, #8B0000);
    border: none;
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #495057) !important;
    border: none !important;
    color: var(--valheim-light) !important;
}

.btn-secondary:hover {
    background: linear-gradient(45deg, #495057, #6c757d) !important;
    color: var(--valheim-light) !important;
}

/* Tables */
.table-dark {
    background-color: rgba(44, 24, 16, 0.9) !important;
    border: 1px solid var(--valheim-gold);
}

.table-dark th {
    background-color: var(--valheim-brown) !important;
    border-color: var(--valheim-gold) !important;
    color: var(--valheim-light) !important;
}

.table-dark td {
    border-color: var(--valheim-gold) !important;
    vertical-align: middle;
    color: var(--valheim-light) !important;
}

.table-dark td strong {
    color: var(--valheim-gold) !important;
}

.table-dark tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.1) !important;
}

/* Forms */
.form-control, .form-select {
    background-color: rgba(44, 24, 16, 0.9);
    border: 1px solid var(--valheim-gold);
    color: var(--valheim-light) !important;
}

.form-control::placeholder {
    color: rgba(245, 230, 211, 0.7) !important;
    opacity: 1;
}

.form-control::-webkit-input-placeholder {
    color: rgba(245, 230, 211, 0.6) !important;
}

.form-control::-moz-placeholder {
    color: rgba(245, 230, 211, 0.6) !important;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: rgba(245, 230, 211, 0.6) !important;
}

.form-select option {
    background-color: var(--valheim-dark) !important;
    color: var(--valheim-light) !important;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(44, 24, 16, 0.9);
    border-color: var(--valheim-gold);
    box-shadow: 0 0 5px var(--valheim-gold);
    color: var(--valheim-light) !important;
}

.form-label {
    color: var(--valheim-light) !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
}

.form-check-label {
    color: var(--valheim-light) !important;
    font-weight: 500 !important;
}

.form-check-input:checked {
    background-color: var(--valheim-gold);
    border-color: var(--valheim-gold);
}

.form-text {
    color: rgba(245, 230, 211, 0.8) !important;
}

/* DataTables Styling */
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: var(--valheim-light) !important;
}

.dataTables_wrapper .dataTables_filter input {
    background-color: rgba(44, 24, 16, 0.9) !important;
    border: 1px solid var(--valheim-gold) !important;
    color: var(--valheim-light) !important;
    border-radius: 5px !important;
    padding: 5px 10px !important;
}

.dataTables_wrapper .dataTables_length select {
    background-color: rgba(44, 24, 16, 0.9) !important;
    border: 1px solid var(--valheim-gold) !important;
    color: var(--valheim-light) !important;
    border-radius: 5px !important;
}

.page-link {
    background-color: rgba(44, 24, 16, 0.9) !important;
    border: 1px solid var(--valheim-gold) !important;
    color: var(--valheim-light) !important;
}

.page-link:hover {
    background-color: var(--valheim-gold) !important;
    color: var(--valheim-dark) !important;
}

.page-item.active .page-link {
    background-color: var(--valheim-gold) !important;
    border-color: var(--valheim-gold) !important;
    color: var(--valheim-dark) !important;
}

/* Table text improvements */
.table-dark a {
    color: var(--valheim-gold) !important;
    text-decoration: none;
}

.table-dark a:hover {
    color: var(--valheim-light) !important;
    text-shadow: 0 0 5px var(--valheim-gold);
}

/* Badges */
.badge {
    font-size: 0.75rem;
    margin: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    font-weight: bold;
}

.badge-crafting { background: #8B4513; }
.badge-building { background: #4682B4; }
.badge-boss { background: #DC143C; }
.badge-food { background: #228B22; }
.badge-potion { background: #9932CC; }
.badge-potions { background: #9932CC; }
.badge-mead { background: #FF8C00; }
.badge-misc { background: #708090; }
.badge-plantable { background: #32CD32; }
.badge-planting { background: #228B22; }
.badge-taming { background: #FF6347; }

/* Boss Caller badge styles */
.badge-boss-caller { 
    background: linear-gradient(45deg, #8A2BE2, #4B0082);
    border: 2px solid #9932CC;
    color: #FFD700 !important;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.8), 0 0 6px rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 8px rgba(138, 43, 226, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: bold;
}
.badge-boss-caller:hover {
    background: linear-gradient(45deg, #9932CC, #8A2BE2);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(138, 43, 226, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Keep backward compatibility with underscore version */
.badge-boss_caller { 
    background: linear-gradient(45deg, #8A2BE2, #4B0082);
    border: 2px solid #9932CC;
    color: #FFD700 !important;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.8), 0 0 6px rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 8px rgba(138, 43, 226, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: bold;
}
.badge-boss_caller:hover {
    background: linear-gradient(45deg, #9932CC, #8A2BE2);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(138, 43, 226, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Trophy badge styles */
.badge-trophy { 
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: 2px solid #DAA520;
    color: #8B4513 !important;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    font-weight: bold;
}
.badge-trophy:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Trophies (plural) badge styles */
.badge-trophies { 
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border: 2px solid #DAA520;
    color: #8B4513 !important;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 215, 0, 0.6);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    font-weight: bold;
}
.badge-trophies:hover {
    background: linear-gradient(45deg, #FFA500, #FFD700);
    transform: scale(1.05);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.badge-active { background: #228B22; }
.badge-inactive { background: #DC143C; }

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23654321" width="1200" height="600"/><polygon fill="%23D4AF37" points="600,50 650,200 750,200 675,275 700,425 600,350 500,425 525,275 450,200 550,200"/></svg>') center/cover;
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-section, .hero-section * {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Search Container */
.search-container {
    margin-bottom: 2rem;
}

/* Item Links */
.item-link {
    color: var(--valheim-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.item-link:hover {
    color: var(--valheim-light);
    text-shadow: 0 0 5px var(--valheim-gold);
}

.item-title {
    color: var(--valheim-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 1rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.stat-card {
    background: rgba(70, 130, 180, 0.1);
    border: 1px solid var(--valheim-blue);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--valheim-gold) !important;
}

.stat-card small {
    color: rgba(245, 230, 211, 0.9) !important;
}

/* Breadcrumb */
.breadcrumb {
    background: rgba(44, 24, 16, 0.7);
    border: 1px solid var(--valheim-gold);
}

.breadcrumb-item {
    color: var(--valheim-light) !important;
}

.breadcrumb-item a {
    color: var(--valheim-gold);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--valheim-light) !important;
}

/* List Groups */
.list-group-item {
    background: rgba(44, 24, 16, 0.7) !important;
    border: 1px solid var(--valheim-gold) !important;
    color: var(--valheim-light) !important;
}

.list-group-item:hover {
    background: rgba(212, 175, 55, 0.1) !important;
}

.list-group-item strong {
    color: var(--valheim-gold) !important;
}

.list-group-item .text-muted {
    color: rgba(245, 230, 211, 0.7) !important;
}

/* Alerts */
.alert {
    border: 2px solid;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(34, 139, 34, 0.2) !important;
    border-color: #228B22 !important;
    color: var(--valheim-light) !important;
}

.alert-danger {
    background-color: rgba(220, 20, 60, 0.2) !important;
    border-color: #DC143C !important;
    color: var(--valheim-light) !important;
}

/* Modals */
.modal-body {
    color: var(--valheim-light) !important;
}

.modal-body strong {
    color: var(--valheim-gold) !important;
}

/* Footer */
footer {
    background: var(--valheim-dark);
    border-top: 2px solid var(--valheim-gold);
    margin-top: auto;
    padding: 1.5rem 0;
}

footer p {
    color: var(--valheim-light) !important;
    margin: 0;
}

/* DataTables Styling */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    background-color: rgba(44, 24, 16, 0.9) !important;
    border: 1px solid var(--valheim-gold) !important;
    color: var(--valheim-light) !important;
}

.dataTables_wrapper .dataTables_filter input::placeholder {
    color: rgba(245, 230, 211, 0.6) !important;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    color: var(--valheim-light) !important;
}

.dataTables_wrapper .dataTables_info {
    color: var(--valheim-light) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: rgba(44, 24, 16, 0.9) !important;
    border: 1px solid var(--valheim-gold) !important;
    color: var(--valheim-light) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--valheim-gold) !important;
    color: var(--valheim-dark) !important;
    text-shadow: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--valheim-gold) !important;
    color: var(--valheim-dark) !important;
    text-shadow: none !important;
    font-weight: bold !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--valheim-dark);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--valheim-brown), var(--valheim-gold));
    border-radius: 6px;
    border: 2px solid var(--valheim-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--valheim-gold), var(--valheim-brown));
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--valheim-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 1;
        text-shadow: 0 0 3px rgba(255, 215, 0, 0.8), 0 0 6px rgba(138, 43, 226, 0.6);
    }
    50% { 
        opacity: 0.7;
        text-shadow: 0 0 6px rgba(255, 215, 0, 1), 0 0 12px rgba(138, 43, 226, 0.8);
    }
}

/* Global Text Improvements */
body, body * {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.card, .table-dark, .modal-content, .navbar {
    color: var(--valheim-light) !important;
}

.card *, .table-dark *, .modal-content *, .navbar * {
    color: inherit !important;
}

.text-dark {
    color: var(--valheim-light) !important;
}

button, .btn, input, select, textarea {
    color: var(--valheim-light) !important;
}

/* Tooltips */
.tooltip .tooltip-inner {
    background-color: var(--valheim-dark);
    border: 1px solid var(--valheim-gold);
    color: var(--valheim-light);
}

.tooltip .tooltip-arrow::before {
    border-top-color: var(--valheim-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
}

/* Print Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .navbar, .btn, .modal, footer {
        display: none !important;
    }
    
    .card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* Admin Panel Styles */
.admin-container {
    padding: 20px 0;
}

.sidebar {
    background: linear-gradient(135deg, var(--valheim-dark), #1a1a1a);
    border-right: 2px solid var(--valheim-gold);
    min-height: calc(100vh - 200px);
}

.sidebar-content {
    padding: 20px;
    position: sticky;
    top: 20px;
}

.sidebar h5 {
    color: var(--valheim-gold);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid var(--valheim-gold);
    padding-bottom: 10px;
}

.nav-pills .nav-link {
    color: var(--valheim-light) !important;
    background: rgba(44, 24, 16, 0.3);
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

.nav-pills .nav-link:hover {
    background: rgba(212, 175, 55, 0.25);
    color: var(--valheim-gold) !important;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
    transform: translateX(5px);
    border-color: var(--valheim-gold);
}

.nav-pills .nav-link.active {
    background: var(--valheim-gold);
    color: #1a1a1a !important;
    font-weight: bold;
    text-shadow: 0 1px 2px #fff, 0 0 2px var(--valheim-gold);
}

.nav-pills .nav-link.active i {
    color: #1a1a1a !important;
    text-shadow: 0 1px 2px #fff, 0 0 2px var(--valheim-gold);
}

/* Font Awesome 7 Pro Icon Styling */
.fa-solid, .fas, .fa-regular, .far, .fa-light, .fal, .fa-thin, .fat, .fa-duotone, .fad, .fa-brands, .fab {
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

.nav-pills .nav-link i {
    color: inherit !important;
    font-size: 1rem;
    width: 18px;
    text-align: center;
    margin-right: 4px;
}

/* Ensure all FontAwesome icons inherit color properly */
i[class*="fa-"] {
    color: inherit !important;
}

.main-content {
    padding: 20px;
}

/* Statistics Cards */
.stats-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border-left: 4px solid var(--valheim-gold);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.stats-primary { border-left-color: #007bff; }
.stats-success { border-left-color: #28a745; }
.stats-warning { border-left-color: #ffc107; }
.stats-info { border-left-color: #17a2b8; }
.stats-danger { border-left-color: #dc3545; }
.stats-secondary { border-left-color: #6c757d; }
.stats-dark { border-left-color: #343a40; }
.stats-light { border-left-color: #f8f9fa; }

.stats-icon {
    font-size: 2.5rem;
    opacity: 0.3;
}

.stats-card .card-body {
    padding: 1.5rem;
    color: var(--valheim-light);
}

.stats-card h2 {
    color: var(--valheim-gold);
    font-weight: bold;
    margin-bottom: 0;
}

.stats-card .card-title {
    color: var(--valheim-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Activity List */
.activity-list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    margin-right: 15px;
    font-size: 1.2rem;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    color: var(--valheim-light);
}

.activity-time {
    color: #888;
    font-size: 0.8rem;
}

/* Custom card styling for admin */
.card {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: var(--valheim-light);
}

.card-header {
    background: linear-gradient(45deg, var(--valheim-dark), var(--valheim-brown));
    border-bottom: 2px solid var(--valheim-gold);
    color: var(--valheim-gold);
    font-weight: bold;
}

/* Progress bars */
.progress {
    background-color: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background: linear-gradient(45deg, var(--valheim-gold), #FFD700);
}

/* Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

/* Enhanced Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--valheim-blue), #5a9bd3);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #5a9bd3, var(--valheim-blue));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(70, 130, 180, 0.3);
}

.btn-success {
    background: linear-gradient(45deg, #28a745, #34ce57);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(45deg, #34ce57, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-warning {
    background: linear-gradient(45deg, #ffc107, #ffda5c);
    border: none;
    color: var(--valheim-dark);
}

.btn-warning:hover {
    background: linear-gradient(45deg, #ffda5c, #ffc107);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-info {
    background: linear-gradient(45deg, #17a2b8, #20c1db);
    border: none;
}

.btn-info:hover {
    background: linear-gradient(45deg, #20c1db, #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.btn-danger {
    background: linear-gradient(45deg, #dc3545, #e55a6a);
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(45deg, #e55a6a, #dc3545);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

/* Form Controls */
.form-control, .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--valheim-light);
    border-radius: 8px;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--valheim-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    color: var(--valheim-light);
}

.form-control::placeholder {
    color: rgba(245, 230, 211, 0.6);
}

/* Modal styling */
.modal-content {
    background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
    border: 2px solid var(--valheim-gold);
    color: var(--valheim-light);
}

.modal-header {
    border-bottom: 1px solid var(--valheim-gold);
}

.modal-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

/* DataTables styling */
.dataTables_wrapper {
    color: var(--valheim-light);
}

.dataTables_filter input,
.dataTables_length select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--valheim-light);
    border-radius: 4px;
    padding: 5px 10px;
}

.dataTables_info {
    color: var(--valheim-light);
}

.dataTables_paginate .paginate_button {
    color: var(--valheim-light) !important;
}

.dataTables_paginate .paginate_button:hover {
    background: var(--valheim-gold) !important;
    color: var(--valheim-dark) !important;
}

.dataTables_paginate .paginate_button.current {
    background: var(--valheim-gold) !important;
    color: var(--valheim-dark) !important;
}

/* Table styling */
.table {
    color: var(--valheim-light);
}

.table thead th {
    border-bottom: 2px solid var(--valheim-gold);
    background: rgba(212, 175, 55, 0.1);
    color: var(--valheim-gold);
}

.table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

/* Admin responsive adjustments */
@media (max-width: 768px) {
    .sidebar {
        position: static;
        min-height: auto;
        border-right: none;
        border-bottom: 2px solid var(--valheim-gold);
    }
    
    .main-content {
        padding: 10px;
    }
    
    .stats-card {
        margin-bottom: 15px;
    }
    
    .modal-dialog {
        margin: 1rem;
    }
}
