/* /static/cabinet/notification.css */

.notification-container {
    position: fixed;
    top: 76px; /* чуть ниже хедера */
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 320px;
}

.notification {
    background-color: #2b2b2b;
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 250ms ease, transform 250ms ease, box-shadow 250ms ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    background-color: #198754; /* Зеленый Bootstrap */
}

.notification.error {
    background-color: #dc3545; /* Красный Bootstrap */
}

.notification.warning {
    background-color: #ffc107; /* Желтый Bootstrap */
    color: #1d1d1f;
}

.notification-icon {
    font-size: 1.2em;
}

.notification-message {
    flex-grow: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Hover эффект */
.notification:hover {
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}
