.notification-center {
position: fixed;
top: 20px;
right: 20px;
z-index: 10000;
display: flex;
flex-direction: column;
gap: 10px;
pointer-events: none;
}
.notification-toast {
background: white;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
width: 350px;
overflow: hidden;
pointer-events: all;
transition: all 0.3s ease;
transform-origin: top right;
}
.notification-toast.visible {
opacity: 1;
transform: translateX(0) scale(1);
}
.notification-toast.hidden {
opacity: 0;
transform: translateX(20px) scale(0.95);
}
.toast-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 12px 16px;
display: flex;
align-items: center;
gap: 8px;
}
.toast-icon {
font-size: 20px;
}
.toast-title {
flex: 1;
font-weight: 600;
font-size: 14px;
}
.toast-close {
background: rgba(255, 255, 255, 0.2);
border: none;
color: white;
font-size: 20px;
cursor: pointer;
width: 24px;
height: 24px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}
.toast-close:hover {
background: rgba(255, 255, 255, 0.3);
}
.toast-body {
padding: 16px;
background: white;
}
.toast-location {
font-size: 16px;
font-weight: 600;
margin: 0 0 8px 0;
color: #2c3e50;
}
.toast-detail {
font-size: 13px;
margin: 4px 0;
color: #555;
}
.toast-detail strong {
color: #333;
margin-right: 4px;
}
@media (max-width: 768px) {
.notification-center {
left: 10px;
right: 10px;
top: 10px;
}
.notification-toast {
width: 100%;
}
}