/* Timeline notification styles */
.timeline-notification {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff3333;
    color: #ff3333;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    z-index: 1000;
    animation: pulse-notification 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 51, 51, 0.6);
    border: 2px solid #ffffff;
}

@keyframes pulse-notification {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 51, 51, 0.6);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 4px 16px rgba(255, 51, 51, 0.8);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 51, 51, 0.6);
    }
}

/* Timeline event message styles */
.timeline-event-message {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(58,65,73 , 0.6);
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInSlideDown 0.5s ease-out;
}

@keyframes fadeInSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-event-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.timeline-event-icon {
    color: #b8952d;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.timeline-event-text {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

/* Bio timeline section specific styles */
.bio-timeline-section {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

.bio-timeline-section .bio-section-title {
    color: #3a4149;
    font-weight: bold;
}

.bio-timeline-section .bio-section-title::before {
    content: '🗓️ ';
    margin-right: 5px;
}

/* Enhanced bio button styles for notification */
.bio-button {
    position: relative;
    overflow: visible;
}

.bio-button.has-notification {
    animation: subtle-glow 2s ease-in-out infinite;
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(58,65,73 , 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(58,65,73 , 0.5);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .timeline-notification {
        width: 18px;
        height: 18px;
        font-size: 9px;
        top: -6px;
        right: -6px;
    }
    
    .timeline-event-message {
        padding: 12px;
        margin: 8px 0;
    }
    
    .timeline-event-text {
        font-size: 13px;
    }
}