/* 弹窗基础样式 */
.aalerty-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

.aalerty-container {
    background: var(--card-bg);
    border-radius: 12px;
    width: 450px;
    max-width: 90vw;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transform: translateY(20px);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border: 1px solid rgba(100, 116, 139, 0.3);
}

/* 弹窗头部 */
.aalerty-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

.aalerty-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.aalerty-icon.primary {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary);
}

.aalerty-icon.success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.aalerty-icon.warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.aalerty-icon.danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.aalerty-icon.light {
    background: rgba(241, 245, 249, 0.15);
    color: var(--light);
}

.aalerty-title {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 弹窗内容 */
.aalerty-content {
    padding: 1.5rem;
    line-height: 1.6;
    color: var(--light);
}

/* 弹窗底部 */
.aalerty-footer {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    border-top: 1px solid rgba(100, 116, 139, 0.2);
}

.aalerty-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    min-width: 90px;
}

.aalerty-btn.primary {
    background: var(--primary);
    color: white;
}

.aalerty-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.aalerty-btn.secondary {
    background: rgba(30, 41, 59, 0.7);
    color: var(--light);
    border: 1px solid rgba(100, 116, 139, 0.3);
}

.aalerty-btn.secondary:hover {
    background: rgba(37, 99, 235, 0.2);
    border-color: var(--primary);
}

.aalerty-btn.danger {
    background: var(--danger);
    color: white;
}

.aalerty-btn.danger:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* 关闭按钮 */
.aalerty-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: var(--light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.aalerty-close:hover {
    background: var(--danger);
    color: white;
    transform: rotate(90deg);
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}