/* 弹窗按钮容器样式（模仿 Bootstrap Modal Footer） */
.layui-layer {
    border: none !important;
    border-radius: 0.5rem !important; /* Bootstrap rounded */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; /* Bootstrap modal shadow */
    padding: 0 !important;
    overflow: hidden;
}
.layui-layer-btn {
    padding: 0.75rem 0.5rem !important;
    border-top: 1px solid #dee2e6;
    background-color: #fff !important;
    text-align: right;
}

.layui-layer-title{
    padding:  1rem !important;
    border-bottom: 1px solid #dee2e6;
    background-color: #fff !important;
    height: auto !important;
    line-height: 1.5 !important;
    font-size: 1.25rem !important;
    font-weight: 500 !important;
}
.layui-layer-setwin{
    top: 22px !important;
}
/* 弹窗按钮样式对齐 Bootstrap 5 的 .btn-primary */
.layui-layer-btn a {
    display: inline-block;
    margin-left: 0.5rem;
    font-weight: 400;
    color: #fff;
    background-color: #0d6efd; /* Bootstrap 主色 */
    border: 1px solid #0d6efd;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem;
    line-height: 1.5  !important;
    border-radius: 0.375rem !important;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    height: auto !important;
}

.layui-layer-btn a:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* 第一个按钮作为主按钮（确认/确定） */
.layui-layer-btn a:first-child {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* 第二个按钮作为次按钮（取消） */
.layui-layer-btn a:last-child {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.layui-layer-btn .layui-layer-btn0{
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: #fff !important;
}

.layui-layer-btn a:last-child:hover {
    background-color: #5c636a;
    border-color: #565e64;
}

/* 按钮禁用状态（可选） */
.layui-layer-btn a.disabled,
.layui-layer-btn a:disabled {
    opacity: 0.65;
    pointer-events: none;
}
