/* 通用提示框样式 */
.custom-alert-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-alert-container.active {
    opacity: 1;
    visibility: visible;
}

.custom-alert {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.custom-alert-container.active .custom-alert {
    transform: translateY(0);
}

.custom-alert-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.custom-alert-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.custom-alert-close {
    position: absolute;
    top: 18px;
    right: 24px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.custom-alert-close:hover {
    color: #333;
    background-color: #f5f5f5;
}

.custom-alert-body {
    padding: 24px;
    text-align: center;
}

.custom-alert-message {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.custom-alert-footer {
    padding: 0 24px 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.custom-alert-btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.custom-alert-btn-primary {
    background-color: #027AFF;
    color: white;
}

.custom-alert-btn-primary:hover {
    background-color: #0066cc;
}

.custom-alert-btn-secondary {
    background-color: #f5f5f5;
    color: #333;
}

.custom-alert-btn-secondary:hover {
    background-color: #e5e5e5;
}

/* 提示类型样式 */
.custom-alert-success .custom-alert-title {
    color: #00B42A;
}

.custom-alert-error .custom-alert-title {
    color: #F53F3F;
}

.custom-alert-warning .custom-alert-title {
    color: #FF7D00;
}

.custom-alert-info .custom-alert-title {
    color: #86909C;
}

/* 图标样式 */
.custom-alert-icon {
    font-size: 48px;
    margin-bottom: 16px;
}
