@import './constants.css';
.alert {
    width:300px;
    display:none;
    flex-direction: column;
    border: 1px solid var(--border);
    background-color: white;
    position:relative;
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,.1);
}

.alert-header {
    width: auto;
    padding: 0.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dismiss-button, .dismiss-button:hover {
    width: 1.5em;
    height: 1.5em;
    margin: 0;
    justify-self: flex-start;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='var(--border)' class='bi bi-x-circle' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'%3E%3C/path%3E%3Cpath d='M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    z-index: 2;
    color: gray;
}

.messages {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}
