.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%;
    max-width: 450px;
    width: 95%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    transform: translate(-50%, -50%);
    background-color: white;
    box-sizing: border-box;
}

.dialog-title {
    background: linear-gradient(to right, var(--dialog-light-color), var(--dialog-dark-color));
    color: white;
    font-size: 18px;
    padding: 10px;
    text-align: center;
}

.dialog-info-text {
    padding: 10px;
    margin: 10px;
    text-align: center;
    border: 1px solid var(--main-border-color);
    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(--success-font-color);
    background: linear-gradient(var(--success-light-color), var(--success-dark-color));
    border: 1px solid var(--success-border-color);
    vertical-align: middle;
    padding: 10px;
    box-sizing: content-box;
    border-radius: 25px;

    max-width: 225px;
}

.dialog-control button:enabled:active {
    background: linear-gradient(var(--success-dark-color), var(--success-light-color));
}

.dialog-control button.danger-btn {
    color: var(--danger-font-color);
    background: linear-gradient(var(--danger-light-color), var(--danger-dark-color));
    border: 1px solid var(--danger-border-color);
}

.dialog-control button.danger-btn:enabled:active {
    background: linear-gradient(var(--danger-dark-color), var(--danger-light-color));
}
