/* Toasty.css - Modern Toast Notification Sistemi */

@keyframes slideInDown {
    from {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

#mdToastContainer {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    width: auto;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mdToast {
    width: auto;
    min-width: 350px;
    padding: 16px 20px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
}

.mdToast-success {
    background-color: #10B981;
    color: white;
}

.mdToast-error {
    background-color: #EF4444;
    color: white;
}

.mdToast-warning {
    background-color: #F59E0B;
    color: white;
}

.mdToast-info {
    background-color: #3B82F6;
    color: white;
}

.toast-close-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: 12px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

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

/* Mobil cihazlar için duyarlı tasarım */
@media (max-width: 768px) {
    .mdToast {
        min-width: 300px;
    }
}

/* Küçük mobil cihazlar için ek ayarlar */
@media (max-width: 576px) {
    .mdToast {
        min-width: 250px;
    }
}
