/* =========================================
       Layui Layer 弹窗 - Minecraft 皮肤化重置 (完美修复版)
    ========================================= */

/* 1. 弹窗主容器：使用 :not 排除 loading 加载层，防止转圈圈被加边框 */
.layui-layer:not(.layui-layer-loading) {
    background-color: #c6c6c6 !important; /* 经典的 GUI 灰色背景 */
    border: 3px solid #000 !important;    /* 像素黑粗边框 */
    border-radius: 0 !important;          /* 坚决去掉圆角，方方正正 */
    /* 像素风 GUI 内阴影 + 方块感外阴影 */
    box-shadow: inset 3px 3px 0px #ffffff,
    inset -3px -3px 0px #555555,
    0 6px 0 rgba(0,0,0,0.5) !important;
    color: #000 !important; /* 强制黑色文字 */
    font-family: "Minecraft", "Segoe UI", sans-serif !important;
}

/* 2. 标题栏：稍深的灰色 + 黑底边 */
.layui-layer-title {
    background-color: #b0b0b0 !important;
    color: #000 !important;
    border-bottom: 3px solid #000 !important;
    border-radius: 0 !important;
    font-weight: bold;
    font-size: 16px !important;
    height: 42px !important;
    line-height: 42px !important;
    padding-left: 15px !important;
}

/* 关闭按钮 (X) 微调 */
.layui-layer-setwin .layui-layer-close1 {
    color: #000 !important;
    font-weight: bold;
    font-size: 20px;
    margin-top: -2px;
    cursor: pointer;
}
.layui-layer-setwin .layui-layer-close1:hover { color: #555 !important; }

/* 3. 内容区域 */
.layui-layer-content {
    color: #000 !important;
    font-size: 15px !important;
    background: none !important;
    /* 注：已删去强行覆盖的 padding，将排版交还给 Layui，解决图标挡字的问题 */
}

/* 专门为纯文本的黑色半透明提示框 (layer.msg) 加一点呼吸感 */
.layui-layer-hui .layui-layer-content {
    padding: 15px 25px !important;
}

/* 4. 底部按钮区域：变身 MC 棕色按钮 */
.layui-layer-btn {
    background-color: #c6c6c6 !important;
    border-top: 3px solid #555 !important; /* 分割线 */
    padding: 10px 15px !important;
    text-align: center !important;
}

/* 按钮本体样式重置 */
.layui-layer-btn a {
    background: #483527 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    height: 36px !important;
    line-height: 36px !important;
    margin: 5px 10px !important;
    font-weight: bold;
    font-size: 15px !important;
    padding: 0 25px !important;
    box-shadow: inset 2px 2px 0px #70523c, inset -2px -2px 0px #2a1e16 !important;
    transition: none !important;
}

/* 按钮悬停态 (Hover) - 变亮 */
.layui-layer-btn a:hover {
    background: #5d4432 !important;
    box-shadow: inset 2px 2px 0px #8a664b, inset -2px -2px 0px #35261c !important;
}

/* 按钮点击态 (Active) - 下陷感 */
.layui-layer-btn a:active {
    box-shadow: inset -2px -2px 0px #70523c, inset 2px 2px 0px #2a1e16 !important;
    position: relative;
    top: 2px;
}