html,
body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

.flash-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 2000;
    width: 350px;
    max-width: calc(100vw - 40px);
}

.auto-dismiss-alert {
    animation: flashFadeOut 0.5s ease forwards;
    animation-delay: 2.5s;
}

@keyframes flashFadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.queue-action-buttons {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
}

.queue-action-buttons .btn {
    width: 100%;
}