/* 自定义弹窗样式 */
.custom-alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.custom-alert.show {
    display: flex;
}

.custom-alert-content {
    background-color: #fff;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.custom-alert-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.custom-alert-title {
    color: #3498db;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.custom-alert-image {
    width: 140px;
    height: 140px;
    margin-bottom: 15px;
}

.custom-alert-content p {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 20px;
}

.custom-alert-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.custom-alert-btn:hover {
    background-color: #2980b9;
}

/* 确认弹窗特有样式 */
.confirm-dialog .custom-alert-content {
    padding-bottom: 25px;
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.cancel-btn {
    background-color: #95a5a6;
}

.cancel-btn:hover {
    background-color: #7f8c8d;
}