/* 粉色主题覆盖样式 */
:root {
    --bs-global: #ff4081;
    --bs-global-1: #fce4ec;
    --bs-global-2: #f8bbd9;
    --bs-global-3: #f48fb1;
    --bs-global-o-1: rgba(255, 64, 129, 0.1);
    --bs-global-o-2: rgba(255, 64, 129, 0.2);
    --bs-global-o-3: rgba(255, 64, 129, 0.3);
    --bs-global-o-4: rgba(255, 64, 129, 0.4);
    --bs-global-o-5: rgba(255, 64, 129, 0.5);
    --bs-global-o-0: rgba(255, 64, 129, 0);
}

/* 覆盖Bootstrap的primary颜色 */
.btn-primary {
    background-color: #ff4081 !important;
    border-color: #ff4081 !important;
}

.btn-primary:hover {
    background-color: #f50057 !important;
    border-color: #c51162 !important;
}

.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 64, 129, 0.25) !important;
}

.btn-primary:active {
    background-color: #c51162 !important;
    border-color: #9c0032 !important;
}

/* 覆盖轮廓按钮 */
.btn-outline-primary {
    color: #ff4081 !important;
    border-color: #ff4081 !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background-color: #ff4081 !important;
    border-color: #ff4081 !important;
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 64, 129, 0.25) !important;
}

.btn-outline-primary:active {
    color: #fff !important;
    background-color: #c51162 !important;
    border-color: #9c0032 !important;
}

/* 覆盖链接颜色 */
a {
    color: #ff4081;
}

a:hover {
    color: #f50057;
}

/* 覆盖导航栏激活状态 */
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #ff4081 !important;
}

/* 覆盖分页激活状态 */
.page-item.active .page-link {
    background-color: #ff4081 !important;
    border-color: #ff4081 !important;
}

/* 覆盖进度条 */
.progress-bar {
    background-color: #ff4081 !important;
}

/* 覆盖徽章 */
.badge-primary {
    background-color: #ff4081 !important;
}

/* 覆盖列表组激活状态 */
.list-group-item.active {
    background-color: #ff4081 !important;
    border-color: #ff4081 !important;
}

/* 覆盖下拉菜单激活状态 */
.dropdown-item.active,
.dropdown-item:active {
    background-color: #ff4081 !important;
}

/* 覆盖自定义控件 */
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #ff4081 !important;
    background-color: #ff4081 !important;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(255, 64, 129, 0.25) !important;
}

/* 覆盖表单控件焦点状态 */
.form-control:focus {
    border-color: #ff4081 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 64, 129, 0.25) !important;
}

/* 覆盖自定义选择框 */
.custom-select:focus {
    border-color: #ff4081 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 64, 129, 0.25) !important;
}

/* 覆盖自定义文件输入 */
.custom-file-input:focus ~ .custom-file-label {
    border-color: #ff4081 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 64, 129, 0.25) !important;
}

/* 覆盖自定义范围滑块 */
.custom-range::-webkit-slider-thumb {
    background-color: #ff4081 !important;
}

.custom-range::-webkit-slider-thumb:active {
    background-color: #f50057 !important;
}

.custom-range::-moz-range-thumb {
    background-color: #ff4081 !important;
}

.custom-range::-moz-range-thumb:active {
    background-color: #f50057 !important;
}

.custom-range::-ms-thumb {
    background-color: #ff4081 !important;
}

.custom-range::-ms-thumb:active {
    background-color: #f50057 !important;
}

/* 覆盖自定义开关 */
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #ff4081 !important;
    border-color: #ff4081 !important;
}

/* 覆盖表格主要样式 */
.table-primary,
.table-primary > td,
.table-primary > th {
    background-color: rgba(255, 64, 129, 0.1) !important;
}

.table-primary tbody + tbody,
.table-primary td,
.table-primary th,
.table-primary thead th {
    border-color: rgba(255, 64, 129, 0.2) !important;
}

/* 覆盖警告框主要样式 */
.alert-primary {
    color: #721c24 !important;
    background-color: rgba(255, 64, 129, 0.1) !important;
    border-color: rgba(255, 64, 129, 0.2) !important;
}

.alert-primary hr {
    border-top-color: rgba(255, 64, 129, 0.3) !important;
}

.alert-primary .alert-link {
    color: #f50057 !important;
}

/* 覆盖代码颜色 */
code {
    color: #ff4081 !important;
}

/* 覆盖文本主要颜色 */
.text-primary {
    color: #ff4081 !important;
}

/* 覆盖背景主要颜色 */
.bg-primary {
    background-color: #ff4081 !important;
}

/* 覆盖边框主要颜色 */
.border-primary {
    border-color: #ff4081 !important;
}

/* 修复复选框样式 */
.form-check-input:checked {
    background-color: #ff4081 !important;
    border-color: #ff4081 !important;
}

.form-check-input:focus {
    border-color: #ff4081 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 64, 129, 0.25) !important;
}

/* 修复单选按钮样式 */
.form-check-input[type="radio"]:checked {
    background-color: #ff4081 !important;
    border-color: #ff4081 !important;
}

/* 修复开关样式 */
.form-switch .form-check-input:checked {
    background-color: #ff4081 !important;
    border-color: #ff4081 !important;
}

/* 修复下拉菜单样式 */
.dropdown-item:focus,
.dropdown-item:hover {
    background-color: rgba(255, 64, 129, 0.1) !important;
}

/* 修复分页链接样式 */
.page-link {
    color: #ff4081 !important;
}

.page-link:hover {
    color: #f50057 !important;
    background-color: #e9ecef !important;
    border-color: #dee2e6 !important;
}

/* 修复导航链接样式 */
.nav-link {
    color: #495057 !important;
}

.nav-link:hover {
    color: #ff4081 !important;
}

.nav-link.active {
    color: #fff !important;
    background-color: #ff4081 !important;
} 