.modal-component {
    display: block;
    background-color: #ffffff;
    border-radius: 2px;
}

.modal-component > header{
    display: grid;
    grid-template-columns: 1fr auto;
    grid-gap: .5rem;
    justify-content: space-between;

    padding: .5rem 1rem;

    position: -webkit-sticky;
    position: sticky;
    top: 0; 
    background-color: #fff;
    border-bottom: solid 1px #eeeeee;
    border-radius: 2px 2px 0 0;
    box-shadow: 0 3px 9px 0 rgba(0, 0, 0, 0.05);

    z-index: 1;
}

.modal-component > header > h3 {
    align-self: center;
    margin: 0;
    font-size: var(--font-size-root);
    font-weight: var(--font-wt-bold);
}

.modal-component > header > .modal-x {
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    text-align: center;
    user-select: none;
    -moz-user-select: none;
}

.modal-component > header > .modal-x:before {
    content: '×';
    font-size: 20px;
    font-style: normal!important;
    font-weight: normal!important;
    line-height: 100%;
    color: #bbb!important;
}

.modal-component > aside{
    padding: 1rem 5%;
}

.modal-component > footer{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, max-content));
    grid-gap: .5rem;
    justify-content: end;

    padding: .5rem 5%;
    border-top: solid 1px #f0f0f0;
}
