
.error-popup{
    position: fixed;
    top: 50%;
    left: 50%;
    width: 40%;
    max-width: 600px;
    height: auto;
    transform: translate(-50%, -50%);
    background-color: var(--accent-alert);
    color: var(--background-color);
    border: 1px solid var(--accent-alert);
    padding: 20px;
    border-radius: 5px;
    z-index: 1000;
    box-shadow: 0px 5px 10px var(--shadow-color);
    border : var(--border-width) solid var(--border-color);
}

.error-popup-title-bar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--accent-alert);
    padding: 10px;
    border-radius: 5px 5px 0 0;
    color: var(--background-color);
    font-weight: bold;
    font-size: 1.5em;
    border-bottom: 3px solid var(--background-color);
}

.error-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid var(--background-color);
    border-radius: 5px;
}

.error-item--title {
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--background-color);
    padding-bottom: 5px;
    font-size: 1.3em;
}

.error-item--text {
    margin-top: 5px;
    font-size: 0.9em;
    color: var(--background-color);
}

.error-item--subtitle{
    
    margin-bottom: 5px;

    padding-bottom: 5px;
    margin-top: 5px;
    padding-top: 5px;
    font-size: 1.2em;
    font-weight: bold;
    font-variant: small-caps;
    text-align: left;
}

.error-item--description, .error-item--spots, .error-item--action {
    margin-left: 10px;
    border-left: 2px solid var(--background-color);
    padding-left: 10px;
}