/**
 * Minimal Bootstrap replacement
 * Covers only the Bootstrap classes actually used in the game.
 */

/* --- Badges --- */
.badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: bold;
    line-height: 14px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #999;
    border-radius: 9px;
}
.badge-success { background-color: #468847; }
.badge-important { background-color: #b94a48; }
.badge-warning { background-color: #f89406; color: #fff; }
.badge-info { background-color: #3a87ad; }
.badge-inverse { background-color: #333; }

/* --- Alerts --- */
.alert {
    padding: 8px 14px;
    margin-bottom: 10px;
    color: #c09853;
    background-color: #3d2b10;
    border: 1px solid #5a3a1a;
    border-radius: 4px;
    position: relative;
}
.alert-success {
    color: #468847;
    background-color: #1a2e1a;
    border-color: #2a4a2a;
}
.alert .close {
    position: absolute;
    top: 4px;
    right: 8px;
    color: inherit;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.6;
    cursor: pointer;
    background: none;
    border: none;
}
.alert .close:hover { opacity: 1; }

/* --- Button group & dropdown --- */
.btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}
.btn-inverse {
    background: #222;
    color: #fff;
    border: 1px solid #080808;
    padding: 4px 12px;
    font-size: 13px;
    line-height: 20px;
    border-radius: 4px;
    cursor: pointer;
}
.btn-inverse:hover { background: #333; }
.caret {
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-top: 4px solid #fff;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    margin-right: 2px;
}

/* --- Dropdown menu --- */
.dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1000;
    min-width: 160px;
    padding: 5px 0;
    background-color: #1a0e08;
    border: 1px solid #5a3a1a;
    border-radius: 4px;
    box-shadow: 0 5px 10px rgba(0,0,0,.4);
}
.btn-group.open > .dropdown-menu,
.dropdown-menu.show {
    display: block;
}

/* --- Pagination --- */
.pagination {
    text-align: center;
    margin: 10px 0;
}
.pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2px;
}
.pagination li a {
    display: inline-block;
    padding: 4px 12px;
    color: #c69b6d;
    background: #2b1507;
    border: 1px solid #4a2510;
    border-radius: 3px;
    text-decoration: none;
    font-size: 13px;
    line-height: 20px;
}
.pagination li a:hover {
    background: #3d1e0e;
    color: #fff;
}
.pagination li.active a {
    background: #6a2d10;
    color: #fff;
    border-color: #8a3d15;
    font-weight: bold;
}

/* --- Collapse --- */
.collapse { display: none; }
.collapse.in { display: block; }
