/* OrgChartX Notification Styles */
.orgchartx-notification {
    /* 移除了 fadeInDown 动画，直接显示橙色背景 */
}

/* Color Scheme - Animated Background */
.orgchartx-notification .alert {
    position: relative;
    background: linear-gradient(135deg, #FF6B35 0%, #FF4500 100%);
    color: white;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 12px rgba(255, 107, 53, 0.4);
    animation: shadowFade 2.5s ease-in-out forwards;
}

.orgchartx-notification .alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #2DBAD1;
    opacity: 0;
    animation: overlayFadeIn 2.5s ease-in-out forwards;
    pointer-events: none;
}

.orgchartx-notification .alert-heading {
    color: white;
    font-size: 1.25rem;
    animation: textGlow 3s ease-in-out infinite, titleColorChange 2.5s ease-in-out forwards;
    position: relative;
    z-index: 1;
}

.orgchartx-notification p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    position: relative;
    z-index: 1;
    animation: subtitleColorChange 2.5s ease-in-out forwards;
}

/* Orange Bar Styles */
.orgchartx-text-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 3px;
    background: #FF4500;
    border-radius: 1.5px;
    animation: borderFade 2.5s ease-in-out forwards;
    z-index: 2;
}

/* Button Styles */
.orgchartx-btn {
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    opacity: 0;
    animation: buttonFadeIn 0.6s ease-out 2.5s forwards;
}

.orgchartx-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Animations */

@keyframes textGlow {
    0%, 100% {
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }
}

@keyframes overlayFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes shadowFade {
    0% {
        box-shadow: 0 2px 12px rgba(255, 107, 53, 0.4);
    }
    100% {
        box-shadow: 0 2px 8px rgba(45, 186, 209, 0.4);
    }
}

@keyframes buttonFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleColorChange {
    0% {
        color: white;
    }
    100% {
        color: #FFFFFF;
    }
}

@keyframes subtitleColorChange {
    0% {
        color: rgba(255, 255, 255, 0.95);
    }
    100% {
        color: #E0E0E0;
    }
}

@keyframes borderFade {
    0% {
        background: #FF4500;
    }
    100% {
        background: #FF6347;
    }
}

/* Rounded corners variant - only applied in specific containers */
.rounded .orgchartx-notification .alert {
    border-radius: 0.25rem !important;
}

.rounded .orgchartx-notification .alert::before {
    border-radius: 0.25rem !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .orgchartx-notification .alert {
        font-size: 0.9rem;
    }

    .orgchartx-notification p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}