/* ==========================================================================
   Button Styles
   ========================================================================== */

.btn-primary,
.btn-yellow {
    background-color: var(--bs-yellow);
    color: #000 !important;
    padding: 0.75rem 1rem;
    border: 2px solid var(--bs-yellow);
}

.btn-primary:hover,
.btn-yellow:hover {
    background-color: #e0a800;
    border: 2px solid var(--bs-yellow);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    padding: 0.75rem 1rem;
    border: 2px solid var(--bs-yellow);
}

.btn-secondary:hover {
    background-color: #e0a800;
    border: 2px solid var(--bs-yellow);
    color: #000;
}

.btn-outline-yellow {
    background-color: #000;
    color: #ffc107;
    border: 2px solid #ffc107;
    padding: 0.75rem 1rem;
}

.btn-outline-yellow:hover {
    color: #000;
}

.btn-success {
    padding: 0.75rem 1rem;
}

.btn-danger {
    color: #fff !important;
    padding: 0.75rem 1rem;
}

.btn-danger:hover {
    background-color: #b02a37;
}

.btn-warning {
    padding: 0.75rem 1rem;
    color: #000 !important;
}

.btn-info {
    padding: 0.75rem 1rem;
    color: #000 !important;
}

.btn-outline-success {
    padding: 0.75rem 1rem;
}

.btn-outline-danger {
    color: #fff !important;
    padding: 0.75rem 1rem;
}

.btn-outline-warning {
    padding: 0.75rem 1rem;
}

.btn-outline-info {
    padding: 0.75rem 1rem;
}

.btn-outline-light {
    padding: 0.75rem 1rem;
}

.btn-outline-primary {
    padding: 0.75rem 1rem;
}

.btn-outline-secondary {
    padding: 0.75rem 1rem;
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
    border-color: var(--bs-yellow);
    color: #000;
}

.btn-group > .btn:hover {
    background-color: #ffc107 !important;
}

.btn-table,
.btn-table-dark,
.btn-table-red,
.btn-table-green {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: ease 0.1s;
    transform: translate(0, 0);
    margin-top: -2px;
    text-decoration: none;
    outline: none;
    line-height: 1;
    vertical-align: middle;
    gap: 10px;
}

.btn-table:active,
.btn-table-dark:active,
.btn-table-red:active,
.btn-table-green:active {
    transform: translate(0, 3px);
}

.btn-table {
    background: #ffaa03;
    color: #2b2b2b;
    border-top: 2px solid #ffd525;
    border-right: 2px solid #ffd003;
    border-bottom: 2px solid #ffd003;
    border-left: 2px solid #ffd003;
    box-shadow: 0 3px 0 #e18000;
}

.btn-table:active {
    box-shadow: 0 0 0 #e18000;
}

.btn-table-dark {
    background: #7a7a7a;
    color: #ffffff;
    border-top: 2px solid #999999;
    border-right: 2px solid #999999;
    border-bottom: 2px solid #999999;
    border-left: 2px solid #999999;
    box-shadow: 0 3px 0 #5c5c5c;
}

.btn-table-dark:active {
    box-shadow: 0 0 0 #5c5c5c;
}

.btn-table-red {
    background: #dc3545;
    color: #ffffff;
    border-top: 2px solid #f07080;
    border-right: 2px solid #f07080;
    border-bottom: 2px solid #f07080;
    border-left: 2px solid #f07080;
    box-shadow: 0 3px 0 #a71d2a;
}

.btn-table-red:active {
    box-shadow: 0 0 0 #a71d2a;
}

.btn-table-green {
    background: #22c55e;
    color: #ffffff;
    border-top: 2px solid #4ade80;
    border-right: 2px solid #4ade80;
    border-bottom: 2px solid #4ade80;
    border-left: 2px solid #4ade80;
    box-shadow: 0 3px 0 #15803d;
}

.btn-table-green:active {
    box-shadow: 0 0 0 #15803d;
}

.btn-inline {
    padding: 4px 10px;
    font-size: 0.8rem;
    margin-top: 0;
}

.modal-footer > * {
    margin: 0;
}

/* ponytail: modal-footer .btn-table* deleted — modal buttons are
   .button now, so those rules no longer matched anything. */

/* ponytail: nav-btn deleted — never referenced */

.btn-follow {
    background-color: transparent;
    color: var(--bs-yellow);
    border: 1px solid var(--bs-yellow);
}

.btn-follow:hover {
    background-color: var(--bs-yellow);
    color: #000;
}

.btn-following {
    background-color: var(--bs-yellow);
    color: #000;
    border: 1px solid var(--bs-yellow);
}

.btn-following:hover {
    background-color: var(--bs-danger);
    color: #fff;
    border: 1px solid var(--bs-danger);
}

.sortable-header {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.sortable-header:hover {
    color: #fff;
}

.sort-active {
    color: #fff;
}

.sort-indicator {
    font-size: 0.7em;
    margin-left: 4px;
}
