.dialog-root {
    position: fixed;
    z-index: 103;
}

.dialog-mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 102;
    width: 100%;
    height: 100%;
    border: 0 none;
    background: #000;
    opacity: .5;
}

.dialog-info {
    z-index: 103;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 95%;
    max-width: 475px;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    transform: translate(-50%, -50%);
    background-color: white;
    box-sizing: border-box;
}

.close-mark {
    position: absolute;
    color: white;
    cursor: pointer;
    top: 10px;
    right: 10px;

    width: 24px;
    height: 24px;
    cursor: pointer;

    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M18.36 6.64L17 5.27 12 10.27 7 5.27 5.64 6.64 10.64 11.64 5.64 16.64 7 18l5-5 5 5 1.36-1.36-5-5z" fill="%23fff"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

.dialog-title {
    background: linear-gradient(var(--light-color), var(--main-color));
    color: var(--font-color);
    font-size: 18px;
    padding: 10px;
    text-align: center;
}

.dialog-info-text {
    padding: 10px;
    margin: 10px;
    text-align: center;
    border: 1px solid #aaaaaa;
    background: #eaeaea;
    border-radius: 5px;
    font-size: 16px;
    color: var(--font-color);
}

.dialog-control {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px;
}

.dialog-control button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;
    font-weight: bold;

    color: var(--font-color);
    background: linear-gradient(var(--btn-light-color), var(--btn-dark-color));
    border: 1px solid var(--border-color);
    vertical-align: middle;
    padding: 10px;
    box-sizing: content-box;
    border-radius: 25px;

    max-width: 225px;
}


.dialog-control button:disabled {
    color: #8e8e8e;
    background: linear-gradient(#b9b9b9, lightgray);
    border: gray;
}

.dialog-control button:enabled:active {
    background: linear-gradient(var(--btn-dark-color), var(--btn-light-color));
}

.dialog-control button.danger-btn {
    color: var(--danger-font-color);
    background: linear-gradient(var(--danger-btn-light-color), var(--danger-btn-dark-color));
    border: 1px solid var(--danger-border-color);
}

.dialog-control button.danger-btn:enabled:active {
    background: linear-gradient(var(--danger-btn-dark-color), var(--danger-btn-light-color));
}
