/**
 * Message Notifier Styles
 * Estilos para notificações de novas mensagens
 */

/* Notificação Toast Lateral */
.message-notification-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: var(--card-bg, #1f2937);
    border: 1px solid var(--border-color, #374151);
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message-notification-toast:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Header da Notificação */
.notification-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color, #374151);
    background: rgba(59, 130, 246, 0.1);
}

.notification-header i.fa-envelope {
    color: #3b82f6;
    font-size: 16px;
}

.notification-header strong {
    flex: 1;
    color: var(--text-primary, #f3f4f6);
    font-size: 14px;
    font-weight: 600;
}

.notification-close {
    background: transparent;
    border: none;
    color: var(--text-secondary, #9ca3af);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #f3f4f6);
}

/* Body da Notificação */
.notification-body {
    padding: 15px;
    color: var(--text-secondary, #d1d5db);
    font-size: 13px;
    line-height: 1.5;
}

/* Footer da Notificação */
.notification-footer {
    padding: 10px 15px;
    border-top: 1px solid var(--border-color, #374151);
    background: rgba(0, 0, 0, 0.1);
    text-align: right;
}

.notification-link {
    display: inline-block;
    padding: 6px 12px;
    background: #3b82f6;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.2s;
}

.notification-link:hover {
    background: #2563eb;
    color: white;
}

/* Container de Alert Bar (dinâmico) */
.alert-bar-container {
    width: 100%;
    z-index: 1000;
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
    .message-notification-toast {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        bottom: 20px;
    }
}

/* Dark/Light Theme Support */
[data-theme="light"] .message-notification-toast {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .notification-header {
    border-bottom-color: #e5e7eb;
}

[data-theme="light"] .notification-header strong {
    color: #111827;
}

[data-theme="light"] .notification-body {
    color: #6b7280;
}

[data-theme="light"] .notification-footer {
    border-top-color: #e5e7eb;
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .notification-close {
    color: #6b7280;
}

[data-theme="light"] .notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #111827;
}
