/* 🎨 Sistema Moderno de Notificações DANFE */

/* Toast Notifications */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 9999;
    max-width: 350px;
    animation: slideInRight 0.5s ease-out;
}

.toast-header {
    padding: 15px 20px 10px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast-body {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.toast-body img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toast-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

/* Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Close button */
.btn-close {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .toast {
        max-width: 300px;
        right: 10px;
        top: 10px;
    }
    
    .toast-body {
        flex-direction: column;
        text-align: center;
    }
    
    .toast-body img {
        width: 80px !important;
    }
}