/** * Flash Alert Styles * * Styles for the floating alert notification system. * Alerts appear centered at the top (60px down) or bottom and stack vertically. * * @SCSS-ANIM-01-EXCEPTION: Hover lift effect acceptable for transient notifications */ .floating-alert-container { position: fixed; top: 60px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; align-items: center; // Center alerts horizontally gap: 12px; max-width: 500px; pointer-events: none; // Allow clicks through container .alert-wrapper { pointer-events: auto; // But allow clicks on individual alerts box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); width: auto; // Size to content, not container min-width: 300px; // Minimum width for alerts .alert { margin-bottom: 0; cursor: pointer; user-select: none; transition: transform 0.2s ease, box-shadow 0.2s ease; &:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); } // Icon spacing i { vertical-align: middle; } // Close button styling .btn-close { cursor: pointer; } } } } // Mobile responsive adjustments @media (max-width: 768px) { .floating-alert-container { left: 10px; right: 10px; transform: none; max-width: none; min-width: 0; top: 10px; } }