.modal {
    position: fixed;

    top: 0%;
    left: 0%;

    width: 100%;
    height: 100%;

    z-index: 1050;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(0, 0, 0, 0.5);

    .modal-container {
        display: flex;
        flex-direction: column;
        
        background-color: white;

        border: 1px solid #c5c5c5;

        padding: 3px;

        max-height: 600px;

        overflow: hidden;

        .modal-top {
            display: flex;
            align-items: center;
            justify-content: space-between;

            border: 1px solid #dddddd;
            background: #e9e9e9;
            color: #333333;
            font-weight: bold;

            padding: 3px;

            >button {
                padding: 3px;

                height: 22px;
                aspect-ratio: 1/1;
            }
        }

        .modal-body {
            display: flex;

            overflow-y: scroll;

            gap: 6px;

            padding: 12px 12px;

            & i {
                color: #bbb;
            }
        }

        .modal-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;

            gap: 12px;

            padding: 12px 18px;

            border-top: solid 2px #aaa;
        }
    }
}

.modal-button {
    border: 1px solid #c5c5c5;
    background: #f6f6f6;
    font-weight: normal;

    color: #454545;
    text-decoration: none;

    border-radius: 3px;

    padding: 6px 12px;

    &:hover {
        cursor: pointer;
        
        border: 1px solid #cccccc;
        background: #ededed;
        font-weight: normal;
        color: #2b2b2b;
    }
}