:root {
    --panel: #141b2d;
    --text: #e5e7eb;
    --border: rgba(255, 255, 255, 0.08);
    --accent: #e10600;
    --accent-2: #ffb100;
}

#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 14px 24px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    min-width: 280px;
    max-width: 400px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 0.3s;
    opacity: 0;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid #10b981;
}

.toast.error {
    border-left: 4px solid var(--accent);
}

.toast.info {
    border-left: 4px solid var(--accent-2);
}

/* CUSTOM MODAL / CONFIRM */
.custom-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.custom-modal.active {
    opacity: 1;
    visibility: visible;
}

.custom-modal-content {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.custom-modal.active .custom-modal-content {
    transform: translateY(0);
}

.custom-modal-body {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 24px;
    text-align: center;
}

.custom-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.custom-modal-actions button {
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    border: none;
}

.custom-modal-actions .ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.custom-modal-actions .ghost:hover {
    background: rgba(255, 255, 255, 0.05);
}

.custom-modal-actions .danger {
    background: var(--accent);
    color: white;
}

.custom-modal-actions .danger:hover {
    filter: brightness(1.1);
}
