﻿

/* Toast.razor.css */
.custom-toast {
    min-width: 280px;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-head-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: rgba(0, 0, 0, 0.15);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.badge-count {
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    min-width: 28px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    backdrop-filter: blur(4px);
}

.toast-body {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.bg-primary .badge-count {
    background: rgba(255, 255, 255, 0.3);
}

.bg-success .badge-count {
    background: rgba(255, 255, 255, 0.3);
}

.bg-warning .badge-count {
    background: rgba(0, 0, 0, 0.2);
}

.bg-danger .badge-count {
    background: rgba(255, 255, 255, 0.3);
}

.custom-toast:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .custom-toast {
        min-width: auto;
        max-width: 100%;
    }

    .badge-count {
        font-size: 16px;
    }

    .toast-body {
        font-size: 13px;
    }
}
