﻿@charset "UTF-8";

/* 自定义弹窗蒙版 */
.custom-dialog-mask {
    width: 100%;
    height: 100%;
    z-index: 81;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, .6);
    
}

/* 自定义弹窗主体 */
.custom-dialog {
    height: 25rem;
    width: 40rem;
    padding: 1rem;
    z-index: 88;
    border-radius: 1rem;
    position: fixed;
    top: calc((100% - 25rem) / 2);
    left: calc((100% - 40rem) / 2);
    background: var(--bkerp-card-bg-gradient);
    color: var(--bkerp-card-text-color);
    display: grid;
    grid-template-rows: 6rem 1fr 5rem;
    grid-template-areas:
        "title "
        "content  "
        "yes ";
    align-items: center;
    justify-items: center;
    font-size: var(--bkerp-font-size-base);
}



    .custom-dialog .custom-dialog-title {
        grid-area: title;
        font-size: 2rem;
    }

    .custom-dialog .custom-dialog-content {
        grid-area: content;
        font-size: var(--bkerp-font-size-base);
        line-height: 2.5rem;
        font-weight: 300;
        height: 100%;
        width: 100%;
        overflow: auto;
        word-wrap: break-word;
        text-align: center;
    }


    /* 自定义弹窗按钮 */
    .custom-dialog .custom-dialog-btnyes {
        grid-area: yes;
        width: 10rem;
        height: 3rem;
        font-size: var(--bkerp-font-size-base);
        border-radius: 0.5rem;
        background-color: var(--bkerp-btn-primary-bg);
        color: var(--bkerp-btn-text);
    }

        .custom-dialog .custom-dialog-btnyes:disabled {
            cursor: not-allowed !important;
            opacity: 0.6 !important;
        }