﻿@supports not selector(::-webkit-scrollbar) {
    .scroll {
        scrollbar-color: rgba(0,0,0,0.3) rgba(0,0,0,0);
        scrollbar-width: thin;
    }
}

/* 自定义徽章样式 */
.my_badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    text-decoration: none;
}

.my_badge_two {
    display: inline-block;
    padding: 0.35em 0.8em;
    font-size: 0.8em;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

.my_badge_two:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}


.my_badge_three {
    display: inline-block;
    padding: .35em .65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    color: #020708;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .15rem
}

/* 背景颜色样式 */
.bg-warning {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.bg-success {
    background-color: #198754 !important;
    border-color: #198754 !important;
}

.bg-info {
    background-color: #0dcaf0 !important;
    border-color: #0dcaf0 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.bg-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

.bg-primary {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

/* 深色主题适配 */
[data-bs-theme="dark"] .my_badge_two {
    border-width: 1px;
    box-shadow: 0 2px 4px rgba(255,255,255,0.1);
}

[data-bs-theme="dark"] .my_badge_two:hover {
    box-shadow: 0 4px 8px rgba(255,255,255,0.15);
}

/* 可以添加更多自定义颜色 */
.bg-custom-orange {
    background-color: #fd7e14 !important;
    border-color: #fd7e14 !important;
}

.bg-custom-purple {
    background-color: #6f42c1 !important;
    border-color: #6f42c1 !important;
}

.bg-custom-pink {
    background-color: #d63384 !important;
    border-color: #d63384 !important;
}
.text-dark-green {
    color: #006400 !important; /* 深绿色 (DarkGreen) */
}
.my_center-qr-code {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
