.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
    max-width: 360px;
}

.toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 6px;
    background-color: #1a1a1a;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    border-left: 4px solid #B19600;
    opacity: 0;
    transform: translateX(120%);
    transition: opacity 250ms ease, transform 250ms ease;
}

.toast-visible {
    opacity: 1;
    transform: translateX(0);
}

.toast-leaving {
    opacity: 0;
    transform: translateX(120%);
}

.toast-success {
    border-left-color: #2e8f4f;
}

.toast-error {
    border-left-color: #c93434;
}

.toast-warning {
    border-left-color: #B19600;
}

.toast-info {
    border-left-color: #4a90c2;
}

.toast-message {
    flex: 1;
    white-space: pre-line;
    word-wrap: break-word;
}

.toast-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    margin-left: 0.5rem;
    opacity: 0.7;
    transition: opacity 150ms ease;
}

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

@media (max-width: 480px) {
    .toast-container {
        top: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        max-width: none;
    }
    .toast {
        font-size: 0.9rem;
    }
}

.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 200ms ease;
}

.confirm-visible {
    opacity: 1;
}

.confirm-dialog {
    background-color: #1a1a1a;
    color: white;
    border-radius: 8px;
    border: 1px solid #B19600;
    padding: 1.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    font-family: Arial, Helvetica, sans-serif;
}

.confirm-message {
    margin: 0 0 1.25rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.confirm-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.625rem;
}

.confirm-cancel,
.confirm-action {
    padding: 0.5rem 1.125rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.confirm-cancel {
    background-color: transparent;
    border-color: #555;
    color: white;
}

.confirm-cancel:hover {
    background-color: #2a2a2a;
    border-color: #777;
}

.confirm-action {
    background-color: #B19600;
    color: black;
    font-weight: 600;
}

.confirm-action:hover {
    background-color: #c9ad11;
}

.confirm-action-danger {
    background-color: #c93434;
    color: white;
}

.confirm-action-danger:hover {
    background-color: #a52828;
}
