footer {
    z-index: 1;
    border-top: 1px solid #374151;
    box-shadow: 0 -4px 6px -1px rgb(0 0 0 / 0.4);
}

footer {
    display: flex;
    flex-direction: column;
    background: #1F2937;
    color: white;
    padding: 0;
}

.footer-status {
    padding: 0.25rem 0.75rem;
    border-bottom: 1px solid #374151;
    text-align: left;
}

.footer-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0.75rem;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-left {
    flex: 1;
    justify-content: flex-start;
}

.footer-right {
    flex: 1;
    justify-content: flex-end;
}

.button {
    background: #374151;
    border: none;
    color: #E5E7EB;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 0.875rem;
    margin-left: 0.5rem;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
}

.button:first-child {
    margin-left: 0;
}

.button:hover {
    background: #4B5563;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.button.danger {
    background: #DC2626;
}

.button.danger:hover {
    background: #B91C1C;
}

.button.icon-button {
    padding: 0.375rem;
    position: relative;
}

.button.icon-button svg {
    width: 25px;
    height: 25px;
}

.button.icon-button::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background: #111827;
    color: #E5E7EB;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    pointer-events: none;
    margin-bottom: 4px;
}

.button.icon-button:hover::after {
    opacity: 1;
    visibility: visible;
}

.reset-button {
    background-color: black;
    color: white;
    border: none;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 8px;
}

#status {
    font-size: 10px;
    padding: 8px;
    padding-left: 0;
}
