/* Notification container (top-right corner) */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 999999;
}

/* Notification box */
.notification {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 15px; /* smaller padding */
    margin: 5px 0;
    border-radius: 6px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.1);
    background-color: white;
    width: 120%;
    max-width: 450px; /* tighter width */
    position: relative;
    animation: slideIn 0.4s ease forwards;
}

.notification .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;   /* smaller icon */
    height: 30px;
    margin-right: 6px; /* smaller gap to content */
    border-radius: 50%;
    color: white;
    font-size: 16px;
}

.notification .contentn {
    flex-grow: 1;
}

.notification .contentn h4 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

.notification .contentn p {
    margin: 1px 0 0; /* very small gap */
    font-size: 12px;
    color: #555;
}

.notification .close {
    cursor: pointer;
    color: #888;
    font-size: 18px;
    font-weight: bold;
    margin-left: 5px;
}

.notification .close:hover {
    color: #f70000;
}

/* Notification types */
.notification.success { border-left: 6px solid #4caf50; }
.notification.success .icon { background-color: #4caf50; }

.notification.error { border-left: 6px solid #f44336; }
.notification.error .icon { background-color: #f44336; }

.notification.info { border-left: 6px solid #2196f3; }
.notification.info .icon { background-color: #2196f3; }

.notification.warning { border-left: 6px solid #ff9800; }
.notification.warning .icon { background-color: #ff9800; }

/* Slide-in animation */
@keyframes slideIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .notification { width: 100%; padding: 8px 10px; max-width: 280px; }
    .notification .icon { width: 25px; height: 25px; font-size: 14px; }
    .notification .contentn h4 { font-size: 13px; }
    .notification .contentn p { font-size: 11px; }
    .notification .close { font-size: 16px; }
}

/* Yes, Go button style */
.yes-go-btn {
    background-color: #f44336; /* red */
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* Cancel button style */
.cancel-btn {
    background-color: #888; /* gray */
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* Optional hover effects */
.yes-go-btn:hover {
    background-color: #d32f2f;
}

.cancel-btn:hover {
    background-color: #666;
}
