/* Simple toast container */
#toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Individual toast */
.toast {
    background: #333;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Back to top button */
#go-to-top {
    display: inline-block;
    background-color: #f97316;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 3.5rem;
    right: 1rem;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 99999;
}

#go-to-top::after {
    content: "\f077";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    font-size: 1.5em;
    line-height: 40px;
    color: #fff;
}

#go-to-top:hover {
    cursor: pointer;
    background-color: #333;
}

#go-to-top:active {
    background-color: #555;
}

#go-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    #go-to-top {
        bottom: 3.5rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }
    
    #go-to-top::after {
        font-size: 1.4em;
        line-height: 40px;
    }
}

/* Tablet responsive adjustments */
@media (min-width: 641px) and (max-width: 1024px) {
    #go-to-top {
        bottom: 3.5rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
    
    #go-to-top::after {
        font-size: 1.3em;
        line-height: 35px;
    }
}