.notification-island {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 340px;
    max-width: 90vw;
    box-sizing: border-box;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-top: 0;
}

.notification-island.show {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.notification-island.shift-down {
    margin-top: calc(var(--shift-index) * 80px);
}

.notification-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-message {
    font-size: 12px;
    margin: 2px 0 0;
    opacity: 0.8;
    /* white-space: nowrap;
    overflow: hidden; */
    text-overflow: ellipsis;
}

.notification-island[data-type="success"] {
    background: rgba(46, 204, 113, 0.9);
}

.notification-island[data-type="warning"] {
    background: rgba(241, 196, 15, 0.9);
}

.notification-island[data-type="error"] {
    background: rgba(231, 76, 60, 0.9);
}

.notification-island[data-type="info"] {
    background: rgba(52, 152, 219, 0.9);
}

.notification-island[data-type="message"] {
    background: rgba(155, 89, 182, 0.9);
}

@media (max-width: 480px) {
    .notification-island {
        width: calc(100% - 32px);
        padding: 10px 16px;
        border-radius: 16px;
        gap: 8px;
    }
    
    .notification-icon {
        width: 20px;
        height: 20px;
    }
    
    .notification-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .notification-title {
        font-size: 13px;
    }
    
    .notification-message {
        font-size: 11px;
    }
}