/**
 * 复制通知样式 - LeleBlog主题
 */

/* 基础通知样式 */
.copy-notification {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%) translateY(20px);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    animation: notification-bounce 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes notification-bounce {
    0% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* 图标样式 */
.notification-icon {
    margin-right: 10px;
    font-size: 18px;
    color: #4ade80;
    animation: icon-pulse 1s infinite alternate;
}

@keyframes icon-pulse {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

/* 不同类型的通知 */
.notification-success {
    background-color: rgba(22, 101, 52, 0.95);
    border-left: 4px solid #4ade80;
}

.notification-error {
    background-color: rgba(153, 27, 27, 0.95);
    border-left: 4px solid #f87171;
}

.notification-info {
    background-color: rgba(30, 64, 175, 0.95);
    border-left: 4px solid #60a5fa;
}

.notification-warning {
    background-color: rgba(146, 64, 14, 0.95);
    border-left: 4px solid #fbbf24;
}

/* 暗色模式适配 */
[data-theme="dark"] .copy-notification {
    background-color: rgba(31, 41, 55, 0.95);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .notification-success {
    background-color: rgba(6, 78, 59, 0.95);
    border-left: 4px solid #34d399;
}

[data-theme="dark"] .notification-error {
    background-color: rgba(127, 29, 29, 0.95);
    border-left: 4px solid #f87171;
}

[data-theme="dark"] .notification-info {
    background-color: rgba(30, 58, 138, 0.95);
    border-left: 4px solid #60a5fa;
}

[data-theme="dark"] .notification-warning {
    background-color: rgba(120, 53, 15, 0.95);
    border-left: 4px solid #fbbf24;
}

/* 响应式调整 */
@media (max-width: 576px) {
    .copy-notification {
        padding: 10px 18px;
        font-size: 14px;
        max-width: 85%;
    }
} 