/* Toast 现代化样式 */
.modern-toast {
    min-width: 350px;
    max-width: 450px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    overflow: hidden;
    animation: toast-slide-in 0.3s ease forwards;
}

/* Toast 类型样式 */
.modern-toast.success {
    background: rgba(25, 135, 84, 0.95);
    color: white;
}

.modern-toast.danger {
    background: rgba(220, 53, 69, 0.95);
    color: white;
}

.modern-toast.warning {
    background: rgba(255, 193, 7, 0.95);
    color: #000;
}

.modern-toast.info {
    background: rgba(13, 110, 253, 0.95);
    color: white;
}

/* Toast 图标容器 */
.toast-icon-container {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
}

/* Toast 进度条 */
.toast-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.toast-progress::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    animation: toast-progress 5s linear forwards;
}

/* Toast 动画 */
@keyframes toast-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-progress {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Toast 堆叠效果 */
.toast-container .modern-toast:not(:last-child) {
    margin-bottom: 1rem;
}

/* Toast 图标动画 */
.toast-icon {
    animation: toast-icon-bounce 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes toast-icon-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 通用工具类 */
.hover-opacity-100:hover {
    opacity: 1 !important;
}

.transition-all {
    transition: all 0.3s ease;
} 