.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 28rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.tab-content {
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 100;
    font-size: 0.875rem;
    font-weight: 500;
    animation: slideIn 0.25s ease-out;
    max-width: 320px;
}

.toast.hidden {
    display: none;
}

@keyframes slideIn {
    from { transform: translateX(calc(100% + 1.5rem)); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
