﻿/* =========================
   APP TOAST (GLOBAL)
   ========================= */

.app-toast-container {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.app-toast {
    min-width: 260px;
    max-width: 320px;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #212529;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

    .app-toast.show {
        opacity: 1;
        transform: translateY(0);
    }

.app-toast-title {
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.app-toast-message {
    margin: 0;
}

/* Tipler */
.app-toast-success {
    border-left: 3px solid #198754;
}

.app-toast-error {
    border-left: 3px solid #dc3545;
}

/* Dark mode'da otomatik yumuşak tema */
body.dark-mode .app-toast {
    background-color: #111827;
    color: #e5e7eb;
    border-color: #1f2937;
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.7);
}
