.popup-alert {
    position: fixed;
    width: 456px;
    padding: 24px 24px 24px 30px;
    z-index: 1200;

    border-radius: 8px;
    /* Drop */
    box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.15);
}

.popup-alert.standard {
    bottom: 20px;
    right: 20px;
}

.popup-alert.modal {
    height: auto;
    top: 50%; 
    left: 50%;
    width: auto; 
    transform: translate(-50%, -50%);
}

/*
top: calc(50% - 100px); 
left: calc(50% - 228px); 
transform: translate(-50%, -50%);
*/

.popup-overlay {
    position: fixed; /* Fixed position relative to the viewport */
    top: 0;
    left: 0;
    width: 100%; /* Cover the full width */
    height: 100%; /* Cover the full height */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    z-index: 1000; /* Ensure the overlay is on top of other elements */
  }

.popup-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.popup-alert.red {
    border-left: 10px solid var(--color-inactive);
    background: var(--color-inactive-light);
}

.popup-alert.blue {
    border-left: 10px solid var(--color-info);
    background: var(--color-info-light);
}

.popup-alert.yellow {
    border-left: 10px solid var(--color-sporadic);
    background: var(--color-sporadic-light);
}

.popup-alert.green {
    border-left: 10px solid var(--color-active-dark);
    background: var(--color-active-light);
}

.outer-popup-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.inner-popup-container{
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.popup-icon-container {
    max-height: 35px;
    display: flex;
    padding: 6px;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
}

.popup-icon-container.red {
    background: var(--color-inactive);
}

.popup-icon-container.blue {
    background: var(--color-info);
}

.popup-icon-container.yellow {
    background: var(--color-sporadic);
}

.popup-icon-container.green {
    background: var(--color-active-dark);
}

.popup-icon {
    width: 19px; /* Adjust size as needed */
    height: 19px; /* Adjust size as needed */
}

.popup-close-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-close-icon {
    width: 24px;
    height: 24px;
}

.font-popup {
    color: var(--font-light);
    font-family: var(--medium-font-family);
    font-size: 20px;
    font-weight: 500;
    color: var(--font-dark);
}

.font-popup-btn {
    color: var(--font-light);
    font-family: var(--medium-font-family);
    font-size: 18px;
    font-weight: 400;
    color: var(--font-dark);
}

.popup-text {
    display: flex;
    padding-left: 44px;
    align-items: flex-start;
    align-self: stretch;
}

.modal_panel {
    display: flex;
    flex-direction: row;
    justify-content: right;
    gap: 12px;
}

.modal_button {
    display: flex;
    height: 30px;
    width: 80px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.modal_button:hover {
  box-shadow: 0px 0px 2px 2px var(--color-sporadic), 0px 0px 0px 2px var(--color-sporadic-light);
}

/* Animations */

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.popup-animate-in {
    animation: slideInFromRight 0.25s forwards;
}

.popup-animate-out {
    animation: slideOutToRight 0.25s forwards;
}