/* Metin2 RPG Custom Theme */
body {
    color: #d4c9a8;
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    min-height: 100vh;
}

.sidebar.bg-dark {
    background: rgba(15, 12, 8, 0.92) !important;
    padding: 15px;
}

.content.bg-darker {
    background: rgba(20, 16, 10, 0.88) !important;
    padding: 15px;
    min-height: 500px;
}

.card {
    background: rgba(30, 24, 15, 0.9) !important;
    border: 1px solid rgba(181, 157, 103, 0.3);
    border-radius: 4px;
    color: #d4c9a8;
}
.card-header {
    background: rgba(40, 32, 18, 0.8) !important;
    border-bottom: 1px solid rgba(181, 157, 103, 0.2);
}
.card-body { color: #d4c9a8; }

.table {
    color: #d4c9a8 !important;
    background: transparent;
}
.table thead th {
    background: rgba(40, 32, 18, 0.8);
    color: #c9964c;
    border-bottom: 2px solid rgba(181, 157, 103, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
}
.table td {
    border-top: 1px solid rgba(181, 157, 103, 0.15);
    vertical-align: middle;
}
.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(30, 24, 15, 0.5);
}
.table-striped tbody tr:hover {
    background: rgba(181, 157, 103, 0.1);
}

.form-control {
    background: rgba(20, 16, 10, 0.8) !important;
    border: 1px solid rgba(181, 157, 103, 0.3) !important;
    color: #d4c9a8 !important;
    border-radius: 3px;
}
.form-control:focus {
    border-color: #c9964c !important;
    box-shadow: 0 0 5px rgba(201, 150, 74, 0.3) !important;
}
.form-control::placeholder {
    color: rgba(212, 201, 168, 0.5) !important;
}

.list-group-item {
    background: transparent !important;
    border-color: rgba(181, 157, 103, 0.15) !important;
    color: #d4c9a8 !important;
    padding: 8px 12px;
    font-size: 13px;
    transition: all 0.2s;
}
.list-group-item:hover {
    background: rgba(181, 157, 103, 0.1) !important;
    color: #ffd778 !important;
}

.stat-player {
    border-bottom: 1px solid rgba(181, 157, 103, 0.1);
    transition: background 0.2s;
}
.stat-player:hover {
    background: rgba(181, 157, 103, 0.1);
}

.badge-success { background: #28a745; }
.badge-warning { background: #ffc107; color: #000; }
.badge-danger { background: #dc3545; }
.badge-info { background: #17a2b8; }

.pagination .page-link {
    background: rgba(30, 24, 15, 0.9);
    border-color: rgba(181, 157, 103, 0.3);
    color: #c9964c;
}
.pagination .page-item.active .page-link {
    background: linear-gradient(1deg, #ffb778, #e78952);
    border-color: #b16950;
    color: #000;
}

.text-muted { color: rgba(212, 201, 168, 0.5) !important; }
.text-light { color: #d4c9a8 !important; }

.nav-tabs-gold .nav-link {
    background: rgba(30, 24, 15, 0.8);
    border: 1px solid rgba(181, 157, 103, 0.3);
    color: #d4c9a8;
    margin-right: 5px;
    border-radius: 3px;
    padding: 8px 16px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}
.nav-tabs-gold .nav-link.active,
.nav-tabs-gold .nav-link:hover {
    background: linear-gradient(1deg, #ffb778, #e78952);
    color: #000;
    border-color: #b16950;
}

.panel-card {
    background: rgba(30, 24, 15, 0.9);
    border: 1px solid rgba(181, 157, 103, 0.2);
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    color: #d4c9a8;
    display: block;
}
.panel-card:hover {
    background: rgba(40, 32, 18, 0.95);
    border-color: #c9964c;
    transform: translateY(-2px);
    text-decoration: none;
    color: #ffd778;
}
.panel-card i, .panel-card .fa {
    font-size: 28px;
    color: #c9964c;
    display: block;
    margin-bottom: 10px;
}

.alert { border-radius: 3px; border: 1px solid rgba(181, 157, 103, 0.3); }
.alert-success { background: rgba(40, 167, 69, 0.2); color: #8fd19e; border-color: rgba(40, 167, 69, 0.3); }
.alert-danger { background: rgba(220, 53, 69, 0.2); color: #f5a0a8; border-color: rgba(220, 53, 69, 0.3); }
.alert-info { background: rgba(23, 162, 184, 0.2); color: #7dd3e0; border-color: rgba(23, 162, 184, 0.3); }

.wrapper { margin-bottom: 30px; }

.chat-message {
    background: rgba(30, 24, 15, 0.7);
    border: 1px solid rgba(181, 157, 103, 0.15);
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 10px;
}
.chat-message.admin-message {
    background: rgba(201, 150, 74, 0.1);
    border-color: rgba(201, 150, 74, 0.3);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgba(15, 12, 8, 0.5); }
::-webkit-scrollbar-thumb { background: rgba(181, 157, 103, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(181, 157, 103, 0.5); }

a { color: #c9964c; }
a:hover { color: #ffd778; }
