@use "utils/functions";
@use "utils/variables";

.prompt {
    width: 600px;
    max-width: 90%;
    padding: 1em 2em 0;
    border: 1px solid variables.$light-gray;
    margin: 50px auto;
    background: variables.$white;

    .prompt__heading {
        display: table;
        width: 100%;
        margin: 1em 0;
        font-size: functions.em(18px);
        line-height: normal;
        table-layout: fixed;

        > div {
            display: table-cell;
            vertical-align: top;

            &:first-child {
                width: 70px;
            }
        }

        img {
            margin-right: 15px;
        }
    }

    .prompt__allow {
        margin: 1em 0;
        font-size: functions.em(20px);
    }

    .prompt__buttons {
        padding: 1.5em 0;
        border-top: 1px solid variables.$light-gray;
        text-align: right;
    }

    .prompt__error {
        display: inline-block;
    }
}
