.toast {
    max-width: 455px; /* Allows wrapping for long messages */
    padding: 16px 24px;
    position: fixed;
    top: 20px;
    right: -500px;
    background: #FFFFFF;
    border-radius: 6px;
    display: flex;
    align-items: flex-start; /* Allow vertical alignment */
    gap: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    font-family: 'Work Sans', sans-serif;
    transition: right 0.5s ease-in-out;
    flex-shrink: 0;
}


.toast.visible {
    right: 20px; /* Move on-screen */
}

.toast.hidden {
    right: -500px; /* Move off-screen */
}

.toast-icon {
    width: 18px; /* Smaller X icon */
    height: 18px; /* Smaller X icon */
}

.toast-icon-red-circle {
    background: #EA4335;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px; /* Small space between icon and text */
}

.toast-icon-red-circle path {
    stroke: white;
    stroke-width: 2;
}

.toast-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative; /* Allow absolute positioning within */
}

.toast-title {
    font-weight: bold;
    font-size: 18px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Align title and close button inline */
}

.toast-message {
    font-weight: 400;
    font-size: 16px;
    color: #565656;
    margin-top: 4px; /* Space between title and message */
}

.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #565656;
    font-size: 16px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    font-family: 'Work Sans', sans-serif;
    position: absolute;
    top: 8px;
    right: 8px;
}

.toast-close:hover {
    opacity: 1;
}

.toast-icon-green-circle {
    background: #34A853;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.toast-icon-green-circle path {
    stroke: white;
    stroke-width: 2;
}