body { margin-top: 100px; font-family: 'Roboto', sans-serif; overflow: hidden; background: transparent; } .toast { width: 100px; float: right; display: flex; flex-direction: column; gap: 8px; } /* Animation glow pulsé */ @keyframes glowPulse { 0%, 100% { box-shadow: 0 0 12px 3px rgba(255, 140, 0, 0.7); } 50% { box-shadow: 0 0 20px 6px rgba(255, 180, 60, 1); } } /* Animation fumée pure CSS */ @keyframes smokePureCSS { 0% { background-position: 0% 50%, 100% 50%; } 100% { background-position: 100% 50%, 0% 50%; } } /* Wrapper notification */ .wrapper { width: 100px; background: linear-gradient(135deg, #ff4e00, #ff8c00); border-radius: 14px; float: right; padding: 12px 16px; transition: background-color 0.3s ease; color: #fff; user-select: none; position: relative; /* Nécessaire pour pseudo-élément fumée */ overflow: hidden; animation: glowPulse 3s ease-in-out infinite; } /* Fumée animée pure CSS derrière */ .wrapper::before { content: ''; position: absolute; top: -40%; left: -30%; width: 160%; height: 160%; background: radial-gradient(ellipse at center, rgba(255 140 0 / 0.15) 0%, transparent 70%), radial-gradient(ellipse at center, rgba(255 180 60 / 0.1) 0%, transparent 70%); filter: blur(12px); animation: smokePureCSS 15s linear infinite; pointer-events: none; z-index: 0; mix-blend-mode: screen; } /* Main container */ .main { margin: 12px 16px 12px 56px; position: relative; color: #fff; z-index: 1; /* Pour être au-dessus de la fumée */ } /* Icon before title */ .main::before { font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 24px; position: absolute; left: -40px; top: 50%; transform: translateY(-50%); line-height: 1; text-shadow: 0 0 6px rgba(255, 94, 0, 0.9), 0 0 10px rgba(255, 69, 0, 0.7); } /* Title */ [class^="title-"] { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; user-select: text; text-shadow: 0 0 5px rgba(255, 140, 0, 0.8); } /* Text */ [class^="text-"] { font-size: 14px; color: #0b0b0a; line-height: 1.4; user-select: text; text-shadow: 0 0 4px rgba(93, 91, 90, 0.6); } /* Success Notification */ .success { background: linear-gradient(135deg, #33ff00, #49dd8c); } /* Info Notification */ .info { background: linear-gradient(135deg, #00fcf8, #018f8c); } /* Warning Notification */ .warning { background: linear-gradient(135deg, #fff700, #d0d008); } /* Error Notification */ .error { background: linear-gradient(135deg, #ff2400, #b22222); } /* Phone message */ .phonemessage { background: linear-gradient(135deg, #41c9eb, #00cafd); }